ali121300 commited on
Commit
e15daa2
·
verified ·
1 Parent(s): 8e8ccf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -95,7 +95,8 @@ def main():
95
 
96
  st.header("Chat with a Bot 🤖🦾 that tries to answer questions about multiple PDFs :books:")
97
  user_question_t = st.text_input("Ask a question about your documents:")
98
- user_question=trs_fa_to_en(text= user_question_t)
 
99
  if user_question:
100
  handle_userinput(user_question)
101
 
 
95
 
96
  st.header("Chat with a Bot 🤖🦾 that tries to answer questions about multiple PDFs :books:")
97
  user_question_t = st.text_input("Ask a question about your documents:")
98
+ txt_en=trs_fa_to_en(text= user_question_t)
99
+ user_question=txt_en
100
  if user_question:
101
  handle_userinput(user_question)
102