Anthony G commited on
Commit
aed2d12
1 Parent(s): a8d8fa6
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -165,7 +165,7 @@ def predict(message, history):
165
  history_openai_format.append({"role": "user", "content": message})
166
 
167
  response = openai.chat.completions.create(
168
- model="ft:gpt-3.5-turbo-0613:personal::8kBTG8eh", messages=history_openai_format, temperature=1.0, stream=True
169
  )
170
 
171
  partial_message = ""
@@ -175,4 +175,4 @@ def predict(message, history):
175
  yield partial_message
176
 
177
 
178
- gr.ChatInterface(fn=predict, title="Mental Health Chatbot - by Jayda Hunte").launch(share=True)
 
165
  history_openai_format.append({"role": "user", "content": message})
166
 
167
  response = openai.chat.completions.create(
168
+ model="ft:gpt-3.5-turbo-0613:personal::8kBTG8eh", messages=history_openai_format, temperature=0.35, stream=True
169
  )
170
 
171
  partial_message = ""
 
175
  yield partial_message
176
 
177
 
178
+ gr.ChatInterface(fn=predict, title="Mental Health Chatbot").launch(share=True)