Spaces:
Runtime error
Runtime error
Commit
·
1edc55c
1
Parent(s):
f989dc6
Update app.py
Browse files
app.py
CHANGED
@@ -156,5 +156,5 @@ model.load_weights(weights_path)
|
|
156 |
values = list("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ")
|
157 |
text = st.text_area('Escriba una frase a traducir: ')
|
158 |
if text:
|
159 |
-
out = translate(remover(text.lower()))
|
160 |
st.text(out)
|
|
|
156 |
values = list("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ")
|
157 |
text = st.text_area('Escriba una frase a traducir: ')
|
158 |
if text:
|
159 |
+
out = translate(remover(text.lower()), model)
|
160 |
st.text(out)
|