Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def main():
|
|
| 96 |
st.success("Done")
|
| 97 |
|
| 98 |
# Check if any document is uploaded
|
| 99 |
-
if
|
| 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)
|