codes4aryan commited on
Commit
bdd8e37
·
1 Parent(s): fee56a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ if "sessionMessages" not in st.session_state:
17
  st.session_state.sessionMessages = [
18
  SystemMessage(content= "You are an assistant which roasts every input")
19
  ]
20
-
21
  def load_answer(question):
22
 
23
  st.session_state.sessionMessages.append(HumanMessage(content=question))
 
17
  st.session_state.sessionMessages = [
18
  SystemMessage(content= "You are an assistant which roasts every input")
19
  ]
20
+ chat= ChatOpenAI()
21
  def load_answer(question):
22
 
23
  st.session_state.sessionMessages.append(HumanMessage(content=question))