JamalAG commited on
Commit
0221f0f
·
1 Parent(s): 41fe4ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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]['generated_responses'][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)