EbubeJohnEnyi commited on
Commit
ddf8a9a
·
verified ·
1 Parent(s): 8c2e6c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)