Spaces:
Runtime error
Runtime error
Commit
·
72f19e8
1
Parent(s):
57b7025
Update app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,7 @@ filename = path_model+'uncased_translator_nahuatl2espanol+hybrid.h5'
|
|
151 |
weights_path = get_file(
|
152 |
'../../model.h5',
|
153 |
filename)
|
154 |
-
model.load_weights(
|
155 |
|
156 |
values = list("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ")
|
157 |
text = st.text_area('Escriba una frase a traducir: ')
|
|
|
151 |
weights_path = get_file(
|
152 |
'../../model.h5',
|
153 |
filename)
|
154 |
+
model.load_weights(weights_path)
|
155 |
|
156 |
values = list("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ")
|
157 |
text = st.text_area('Escriba una frase a traducir: ')
|