ambreshrc commited on
Commit
b128f72
1 Parent(s): a9d44d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -99,11 +99,11 @@ datas=st.file_uploader("Original File")
99
  binary_output = BytesIO()
100
  f3=btTranslator(datas).save(binary_output)
101
 
102
- if datas :
103
  #if st.button(label='Data Process'):
104
- st.download_button(label='Download Translated File',file_name='Translated.docx', data=binary_output.getvalue())
105
- else:
106
- st.text('Upload File and Start the process')
107
 
108
 
109
  #f4=binary_output(f3)
 
99
  binary_output = BytesIO()
100
  f3=btTranslator(datas).save(binary_output)
101
 
102
+ #if datas :
103
  #if st.button(label='Data Process'):
104
+ st.download_button(label='Download Translated File',file_name='Translated.docx', data=binary_output.getvalue())
105
+ #else:
106
+ # st.text('Upload File and Start the process')
107
 
108
 
109
  #f4=binary_output(f3)