ali121300 commited on
Commit
0f066f4
·
verified ·
1 Parent(s): d3c4795

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -79,7 +79,8 @@ def handle_userinput(user_question:str):
79
  st.write("پاسخ ربات: " + message.content)
80
  text1=message.content
81
  st.write(text1)
82
-
 
83
  #############################################################################################################
84
 
85
  def main():
 
79
  st.write("پاسخ ربات: " + message.content)
80
  text1=message.content
81
  st.write(text1)
82
+ txt_fa=translators.translate_text(text1,to_language='fa',from_language='en')
83
+ st.write(txt_fa)
84
  #############################################################################################################
85
 
86
  def main():