Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ def main():
|
|
| 103 |
answer = ""
|
| 104 |
if question != st.session_state.get("last_question", ""):
|
| 105 |
st.text("Searching...")
|
| 106 |
-
answer = search.answer_query_with_context(question, df)
|
| 107 |
st.session_state["interactions"].append((question, answer))
|
| 108 |
st.write(answer)
|
| 109 |
|
|
|
|
| 103 |
answer = ""
|
| 104 |
if question != st.session_state.get("last_question", ""):
|
| 105 |
st.text("Searching...")
|
| 106 |
+
answer = search.answer_query_with_context(question, df, tokenizer, model)
|
| 107 |
st.session_state["interactions"].append((question, answer))
|
| 108 |
st.write(answer)
|
| 109 |
|