Jasur05 commited on
Commit
1991495
·
verified ·
1 Parent(s): 2324e99
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def rag_answer(question: str, collection) -> str:
109
  # gradio interface code below
110
 
111
  def answer_question(user_input, history):
112
- answer = rag_answer(question, collection)
113
 
114
  history.append({"role": "user", "content": user_input})
115
  history.append({"role": "assistant", "content": answer})
 
109
  # gradio interface code below
110
 
111
  def answer_question(user_input, history):
112
+ answer = rag_answer(user_input, collection)
113
 
114
  history.append({"role": "user", "content": user_input})
115
  history.append({"role": "assistant", "content": answer})