sda
Browse files
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(
|
| 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})
|