Spaces:
Sleeping
Sleeping
Alex Vega
commited on
Commit
·
5e52f0c
1
Parent(s):
330ce4f
up
Browse files
main.py
CHANGED
@@ -13,7 +13,7 @@ class TranslationResponse(BaseModel):
|
|
13 |
confidence: float
|
14 |
|
15 |
try:
|
16 |
-
model = tf.keras.models.load_model('
|
17 |
except Exception as e:
|
18 |
raise IOError(f"Error al cargar el modelo 'best_model.keras'. Error: {e}")
|
19 |
|
|
|
13 |
confidence: float
|
14 |
|
15 |
try:
|
16 |
+
model = tf.keras.models.load_model('best_model_2.keras')
|
17 |
except Exception as e:
|
18 |
raise IOError(f"Error al cargar el modelo 'best_model.keras'. Error: {e}")
|
19 |
|