ali121300 commited on
Commit
20c641a
1 Parent(s): 0f066f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -79,8 +79,8 @@ def handle_userinput(user_question:str):
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():
 
79
  st.write("پاسخ ربات: " + message.content)
80
  text1=message.content
81
  st.write(text1)
82
+ txtfa=trs_en_to_fa(txt1)
83
+ st.write(txtfa)
84
  #############################################################################################################
85
 
86
  def main():