Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ def find_question_and_answer(json_file, question):
|
|
| 60 |
|
| 61 |
if __name__ == '__main__':
|
| 62 |
while True:
|
| 63 |
-
user_input = st.text_area("Enter your question:")
|
| 64 |
if user_input.lower() == 'exit':
|
| 65 |
break
|
| 66 |
response = find_question_and_answer(json_file_path, user_input)
|
|
|
|
| 60 |
|
| 61 |
if __name__ == '__main__':
|
| 62 |
while True:
|
| 63 |
+
user_input = st.text_area(f"Enter your question {question_count + 1}:", key=f"user_input_{question_count}")
|
| 64 |
if user_input.lower() == 'exit':
|
| 65 |
break
|
| 66 |
response = find_question_and_answer(json_file_path, user_input)
|