Spaces:
Sleeping
Sleeping
EbubeJohnEnyi
commited on
Commit
•
f350594
1
Parent(s):
2934265
Update app.py
Browse files
app.py
CHANGED
@@ -59,9 +59,9 @@ def find_question_and_answer(json_file, question):
|
|
59 |
return selected_response
|
60 |
|
61 |
if __name__ == '__main__':
|
62 |
-
question_count = 0
|
63 |
-
while True:
|
64 |
-
|
65 |
response = find_question_and_answer(json_file_path, user_input)
|
66 |
st.write(response)
|
67 |
|
|
|
59 |
return selected_response
|
60 |
|
61 |
if __name__ == '__main__':
|
62 |
+
# question_count = 0
|
63 |
+
# while True:
|
64 |
+
user_input = st.text_area(f"Enter your question:")
|
65 |
response = find_question_and_answer(json_file_path, user_input)
|
66 |
st.write(response)
|
67 |
|