ofermend commited on
Commit
654d10a
1 Parent(s): 55fd9a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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: