Spaces:
Sleeping
Sleeping
Commit
•
fa9f8e5
1
Parent(s):
f6313e7
Update app.py
Browse files
app.py
CHANGED
@@ -6,4 +6,7 @@ loaded_model = model_from_json(loaded_model_json)
|
|
6 |
loaded_model.load_weights("model.h5")
|
7 |
print("cargado el modelo en el disco")
|
8 |
loaded_model.compile(loss='mean_squared_error',optimizer='adam',metrics='binary_accuracy')
|
9 |
-
|
|
|
|
|
|
|
|
6 |
loaded_model.load_weights("model.h5")
|
7 |
print("cargado el modelo en el disco")
|
8 |
loaded_model.compile(loss='mean_squared_error',optimizer='adam',metrics='binary_accuracy')
|
9 |
+
X0 = 0
|
10 |
+
X1 = 0
|
11 |
+
XX = [[X0,X1]]
|
12 |
+
print(loaded_model.predict(XX).round())
|