Spaces:
Build error
Build error
Update app.py
Browse files99 unmodified lines10010110210310410510699 unmodified lines#if st.button(label='Data Process'):binary_output = BytesIO()if st.button(label='Translate'):btTranslator(datas).save(binary_output)st.download_button(label='Download Translated File',file_name='Translated.docx', data=binary_output.getvalue())#else:99 unmodified lines10010110210310410510610710899 unmodified lines#if st.button(label='Data Process'):binary_output = BytesIO()if st.button(label='Translate'):st.spinner('Waiting...'):btTranslator(datas).save(binary_output)st.success("Translated")st.download_button(label='Download Translated File',file_name='Translated.docx', data=binary_output.getvalue())#else:
app.py+3-1