Spaces:
Sleeping
Sleeping
monarkshadow
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ if st.button("Traducir"):
|
|
26 |
time.sleep(2)
|
27 |
if user_input:
|
28 |
textotraducido = traductor(user_input, max_legth=500)[0]["texto traducido"]
|
29 |
-
st.
|
30 |
else:
|
31 |
st.warning("Ingrese un texto")
|
32 |
|
|
|
26 |
time.sleep(2)
|
27 |
if user_input:
|
28 |
textotraducido = traductor(user_input, max_legth=500)[0]["texto traducido"]
|
29 |
+
st.success("Texto taducido: {textotraducido}")
|
30 |
else:
|
31 |
st.warning("Ingrese un texto")
|
32 |
|