kbourne commited on
Commit
67b0a12
·
verified ·
1 Parent(s): 93a769d

Update app.py

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