Spaces:
Build error
Build error
Update app.py
Browse files
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 |
|