Spaces:
Sleeping
Sleeping
pedromsfaria
commited on
Commit
•
efca52e
1
Parent(s):
457b91a
Update app.py
Browse files
app.py
CHANGED
@@ -43,9 +43,9 @@ messages4 = initial_messages4.copy()
|
|
43 |
def openai_create(user_input, messages):
|
44 |
messages.append({"role": "user", "content": user_input})
|
45 |
response = openai.ChatCompletion.create(
|
46 |
-
model="gpt-
|
47 |
messages=messages,
|
48 |
-
temperature=0.
|
49 |
top_p=1,
|
50 |
frequency_penalty=0,
|
51 |
presence_penalty=0.6,
|
|
|
43 |
def openai_create(user_input, messages):
|
44 |
messages.append({"role": "user", "content": user_input})
|
45 |
response = openai.ChatCompletion.create(
|
46 |
+
model="gpt-4",
|
47 |
messages=messages,
|
48 |
+
temperature=0.5,
|
49 |
top_p=1,
|
50 |
frequency_penalty=0,
|
51 |
presence_penalty=0.6,
|