Spaces:
Sleeping
Sleeping
Nikhitha2310
commited on
Update app.py
Browse files
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'])
|