Spaces:
Runtime error
Runtime error
DmitrMakeev
commited on
Commit
•
c76adbc
1
Parent(s):
c1fbed1
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ openai.api_key ='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'
|
|
6 |
|
7 |
def openai_chat(prompt):
|
8 |
completions = openai.Completion.create(
|
9 |
-
engine="
|
10 |
prompt=prompt+"The following is the prompt from teacher working in canvas infrastructure",
|
11 |
max_tokens=1024,
|
12 |
temperature=0.5,
|
|
|
6 |
|
7 |
def openai_chat(prompt):
|
8 |
completions = openai.Completion.create(
|
9 |
+
engine="text-davinci-003",
|
10 |
prompt=prompt+"The following is the prompt from teacher working in canvas infrastructure",
|
11 |
max_tokens=1024,
|
12 |
temperature=0.5,
|