shubh-2896 commited on
Commit
6d4a1ca
1 Parent(s): a7ae2cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -110,10 +110,10 @@ def main():
110
  # Input for user question
111
  user_question = st.text_input("Ask a Question from the PDF Files", key="user_question")
112
 
113
- if user_question:
114
- with st.chat_message("user"):
115
- st.write(user_question)
116
- user_input(user_question)
117
 
118
  if __name__ == "__main__":
119
  main()
 
110
  # Input for user question
111
  user_question = st.text_input("Ask a Question from the PDF Files", key="user_question")
112
 
113
+ if user_question:
114
+ with st.chat_message("user"):
115
+ st.write(user_question)
116
+ user_input(user_question)
117
 
118
  if __name__ == "__main__":
119
  main()