Spaces:
Runtime error
Runtime error
Commit
·
57b7025
1
Parent(s):
69c01b7
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ from keras.utils.data_utils import get_file
|
|
149 |
path_model = 'https://huggingface.co/spaces/gilesitorr/Nahuatl2Spanish/raw/main/Models/'
|
150 |
filename = path_model+'uncased_translator_nahuatl2espanol+hybrid.h5'
|
151 |
weights_path = get_file(
|
152 |
-
'model',
|
153 |
filename)
|
154 |
model.load_weights(filename)
|
155 |
|
|
|
149 |
path_model = 'https://huggingface.co/spaces/gilesitorr/Nahuatl2Spanish/raw/main/Models/'
|
150 |
filename = path_model+'uncased_translator_nahuatl2espanol+hybrid.h5'
|
151 |
weights_path = get_file(
|
152 |
+
'../../model.h5',
|
153 |
filename)
|
154 |
model.load_weights(filename)
|
155 |
|