ambreshrc commited on
Commit
3049e45
1 Parent(s): 2f2160a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -108,7 +108,8 @@ if st.button(label='Translate'):
108
  st.success("Translated")
109
 
110
  st.download_button(label='Download Translated File',file_name=(f"{name}_Translated.docx"), data=binary_output.getvalue())
111
- files.save(f"{name}_Translated.docx")
 
112
  #else:
113
  # st.text('Upload File and Start the process')
114
 
 
108
  st.success("Translated")
109
 
110
  st.download_button(label='Download Translated File',file_name=(f"{name}_Translated.docx"), data=binary_output.getvalue())
111
+ #files.save(f"{name}_Translated.docx")
112
+ binary_output.getvalue()
113
  #else:
114
  # st.text('Upload File and Start the process')
115