Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def predict(message, history):
|
|
20 |
history_openai_format.append({"role": "assistant", "content": assistant})
|
21 |
history_openai_format.append({"role": "user", "content": message})
|
22 |
response = openai.ChatCompletion.create(
|
23 |
-
model='gpt-3.5-turbo-16k-0613', #gpt-3.5-turbo-0301 faster
|
24 |
messages= history_openai_format,
|
25 |
temperature=0.5,
|
26 |
stream=True
|
|
|
20 |
history_openai_format.append({"role": "assistant", "content": assistant})
|
21 |
history_openai_format.append({"role": "user", "content": message})
|
22 |
response = openai.ChatCompletion.create(
|
23 |
+
model='gpt-3.5-turbo-16k-0613', #gpt-3.5-turbo-0301 faster
|
24 |
messages= history_openai_format,
|
25 |
temperature=0.5,
|
26 |
stream=True
|