Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ if prompt := st.chat_input():
|
|
| 47 |
"max_new_tokens": 150
|
| 48 |
}
|
| 49 |
})
|
| 50 |
-
msg = response.choices[0].message.content
|
| 51 |
st.session_state.messages.append({"role": "assistant", "content": msg})
|
| 52 |
st.chat_message("assistant").write(msg)
|
| 53 |
|
|
|
|
| 47 |
"max_new_tokens": 150
|
| 48 |
}
|
| 49 |
})
|
| 50 |
+
msg = response # .choices[0].message.content
|
| 51 |
st.session_state.messages.append({"role": "assistant", "content": msg})
|
| 52 |
st.chat_message("assistant").write(msg)
|
| 53 |
|