Huzaifa367 commited on
Commit
f4ce74d
·
verified ·
1 Parent(s): 2258a9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def main():
96
  st.success("Done")
97
 
98
  # Check if any document is uploaded
99
- if st.success("Done"):
100
  user_question = st.text_input("Ask a question from the Docs")
101
  if user_question:
102
  user_input(user_question, api_key)
 
96
  st.success("Done")
97
 
98
  # Check if any document is uploaded
99
+ if pdf_docs:
100
  user_question = st.text_input("Ask a question from the Docs")
101
  if user_question:
102
  user_input(user_question, api_key)