Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
def gpt3(texts):
|
7 |
openai.api_key = os.environ["Secret"]
|
8 |
response = openai.Completion.create(
|
9 |
-
engine="
|
10 |
prompt= texts,
|
11 |
temperature=0,
|
12 |
max_tokens=750,
|
|
|
6 |
def gpt3(texts):
|
7 |
openai.api_key = os.environ["Secret"]
|
8 |
response = openai.Completion.create(
|
9 |
+
engine="gpt-4",
|
10 |
prompt= texts,
|
11 |
temperature=0,
|
12 |
max_tokens=750,
|