V2.1
Browse files
app.py
CHANGED
|
@@ -99,11 +99,11 @@ message("Hello, How can I help you?")
|
|
| 99 |
|
| 100 |
|
| 101 |
question = get_text()
|
| 102 |
-
|
| 103 |
# Generate the answer using the model
|
| 104 |
answer = qa_model(question=question, context=context)
|
| 105 |
-
|
| 106 |
-
|
| 107 |
# Print the answer
|
| 108 |
# print(answer)
|
| 109 |
|
|
|
|
| 99 |
|
| 100 |
|
| 101 |
question = get_text()
|
| 102 |
+
message(question,is_user=True)
|
| 103 |
# Generate the answer using the model
|
| 104 |
answer = qa_model(question=question, context=context)
|
| 105 |
+
message(answer)
|
| 106 |
+
st.experimental_rerun()
|
| 107 |
# Print the answer
|
| 108 |
# print(answer)
|
| 109 |
|