Nikhitha2310 commited on
Commit
19fc902
·
verified ·
1 Parent(s): f0b2639

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,4 +7,4 @@ btn=st.button("Submit")
7
  pipe=pipeline(task='translation',model='Helsinki-NLP/opus-mt-en-roa')
8
 
9
  if(inp and btn):
10
- st.write(pipe(inp))
 
7
  pipe=pipeline(task='translation',model='Helsinki-NLP/opus-mt-en-roa')
8
 
9
  if(inp and btn):
10
+ st.write(pipe(inp)[0]['translation_text'])