Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,6 +68,7 @@ def launch_bot():
|
|
68 |
st.write(prompt)
|
69 |
|
70 |
# Generate a new response if last message is not from assistant
|
|
|
71 |
if st.session_state.messages[-1]["role"] != "assistant":
|
72 |
with st.chat_message("assistant"):
|
73 |
if cfg.streaming:
|
|
|
68 |
st.write(prompt)
|
69 |
|
70 |
# Generate a new response if last message is not from assistant
|
71 |
+
print(f"DEBUG streaming = {cfg.streaming}, type={type(cfg.streaming)}")
|
72 |
if st.session_state.messages[-1]["role"] != "assistant":
|
73 |
with st.chat_message("assistant"):
|
74 |
if cfg.streaming:
|