ambreshrc commited on
Commit
068434c
1 Parent(s): 22a6b7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -100,8 +100,8 @@ datas=st.file_uploader("Original File")
100
  #if st.button(label='Data Process'):
101
  binary_output = BytesIO()
102
  if st.button(label='Translate'):
103
- st.spinner('Waiting...'):
104
- btTranslator(datas).save(binary_output)
105
  st.success("Translated")
106
 
107
  st.download_button(label='Download Translated File',file_name='Translated.docx', data=binary_output.getvalue())
 
100
  #if st.button(label='Data Process'):
101
  binary_output = BytesIO()
102
  if st.button(label='Translate'):
103
+ st.spinner('Waiting...')
104
+ btTranslator(datas).save(binary_output)
105
  st.success("Translated")
106
 
107
  st.download_button(label='Download Translated File',file_name='Translated.docx', data=binary_output.getvalue())