Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,8 @@ def main():
|
|
| 98 |
st.success("Done")
|
| 99 |
if pdf_docs:
|
| 100 |
user_question = st.text_input("Ask a question from the Docs")
|
| 101 |
-
|
|
|
|
| 102 |
|
| 103 |
# # Check if any document is uploaded
|
| 104 |
# if pdf_docs:
|
|
|
|
| 98 |
st.success("Done")
|
| 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)
|
| 103 |
|
| 104 |
# # Check if any document is uploaded
|
| 105 |
# if pdf_docs:
|