Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,4 +9,4 @@ text = st.text_input("Enter text to translate:")
|
|
9 |
|
10 |
if text:
|
11 |
result = pipeline(text, max_length=1024)
|
12 |
-
st.write("Translation:", result[0]['
|
|
|
9 |
|
10 |
if text:
|
11 |
result = pipeline(text, max_length=1024)
|
12 |
+
st.write("Translation:", result[0]['translation_text'])
|