RaulHuarote commited on
Commit
8b5743c
verified
1 Parent(s): 0b7cee6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -10,18 +10,7 @@ class InputData(BaseModel):
10
  app = FastAPI()
11
 
12
  # Funci贸n para construir el modelo manualmente
13
- def build_model():
14
- """
15
- model = tf.keras.Sequential(
16
- [
17
- tf.keras.layers.Input(
18
- shape=(2,), name="dense_2_input"
19
- ), # Ajusta el tama帽o de entrada seg煤n tu modelo
20
- tf.keras.layers.Dense(4, activation="relu", name="dense_2"),
21
- tf.keras.layers.Dense(1, activation="sigmoid", name="dense_3"),
22
- ]
23
- )
24
- """
25
  model = tf.keras.Sequential([
26
  tf.keras.layers.Dense(units=4, activation='sigmoid', input_shape=(2,)),
27
  tf.keras.layers.Dense(units=1, activation='sigmoid')
 
10
  app = FastAPI()
11
 
12
  # Funci贸n para construir el modelo manualmente
13
+ def build_model():
 
 
 
 
 
 
 
 
 
 
 
14
  model = tf.keras.Sequential([
15
  tf.keras.layers.Dense(units=4, activation='sigmoid', input_shape=(2,)),
16
  tf.keras.layers.Dense(units=1, activation='sigmoid')