guymorlan commited on
Commit
28f75ea
·
1 Parent(s): 578d533

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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]['translated_text'])
 
9
 
10
  if text:
11
  result = pipeline(text, max_length=1024)
12
+ st.write("Translation:", result[0]['translation_text'])