Spaces:
Paused
Paused
ehristoforu
commited on
Commit
•
186b464
1
Parent(s):
de4a973
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def gptresponse(message, history):
|
|
18 |
if message != '':
|
19 |
messages.append({"role":"user", "content":message})
|
20 |
|
21 |
-
response = openai.ChatCompletion.create(
|
22 |
messages = messages,
|
23 |
temperature =0.8,
|
24 |
max_tokens = 5000,
|
|
|
18 |
if message != '':
|
19 |
messages.append({"role":"user", "content":message})
|
20 |
|
21 |
+
response = openai.ChatCompletion.create(model="gpt-3.5-turbo",
|
22 |
messages = messages,
|
23 |
temperature =0.8,
|
24 |
max_tokens = 5000,
|