ali121300 commited on
Commit
c3ecd63
1 Parent(s): e15daa2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -94,11 +94,11 @@ def main():
94
 
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
 
103
 
104
  with st.sidebar:
 
94
 
95
 
96
  st.header("Chat with a Bot 🤖🦾 that tries to answer questions about multiple PDFs :books:")
97
+ user_question = st.text_input("Ask a question about your documents:")
98
+ user_question1=trs_fa_to_en(text=user_question)
99
+
100
  if user_question:
101
+ handle_userinput(user_question1)
102
 
103
 
104
  with st.sidebar: