Pezh commited on
Commit
f1f3052
·
1 Parent(s): 8be9640

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,6 +79,6 @@ if uploaded_file is not None:
79
 
80
  # Button to print the text from input
81
  if st.button('Print Text'):
82
- st.write(translator.translate(response.text, src='en', dest='fa'))#translate_to_persian("Hello, how are you?"))#response.text))
83
 
84
  # Run this with `streamlit run your_script.py`
 
79
 
80
  # Button to print the text from input
81
  if st.button('Print Text'):
82
+ st.write(translator.translate(response.text, src='en', dest='fa').text)#translate_to_persian("Hello, how are you?"))#response.text))
83
 
84
  # Run this with `streamlit run your_script.py`