sotosbarl commited on
Commit
4aac95b
·
verified ·
1 Parent(s): b5d18e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,11 +73,11 @@ if text:
73
 
74
  st.session_state.history += "Based on the following information" + answer +"answer this question:" + text + "by reasoning step by step" # Add new text to history
75
  # out = pipe(st.session_state.history) # Generate output based on history
76
-
77
  messages = [
78
  {
79
  "role": "system",
80
- "content": "You are a friendly chatbot who answers question based on the info that I give you:" + answer,
81
  },
82
  {"role": "user", "content": text"},
83
  ]
 
73
 
74
  st.session_state.history += "Based on the following information" + answer +"answer this question:" + text + "by reasoning step by step" # Add new text to history
75
  # out = pipe(st.session_state.history) # Generate output based on history
76
+ content = "You are a friendly chatbot who answers question based on the info that I give you:" + answer
77
  messages = [
78
  {
79
  "role": "system",
80
+ "content": content,
81
  },
82
  {"role": "user", "content": text"},
83
  ]