Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ if st.button("Send"):
|
|
17 |
{"role": "user", "content": user_message}]
|
18 |
|
19 |
# Get the model's response
|
20 |
-
model_response = conversational_pipeline(conversation_history)[0]['
|
21 |
|
22 |
# Display the model's response
|
23 |
st.text_area("Model:", model_response, height=100)
|
|
|
17 |
{"role": "user", "content": user_message}]
|
18 |
|
19 |
# Get the model's response
|
20 |
+
model_response = conversational_pipeline(conversation_history)[0]['generated_text']
|
21 |
|
22 |
# Display the model's response
|
23 |
st.text_area("Model:", model_response, height=100)
|