Spaces:
Runtime error
Runtime error
DmitrMakeev
commited on
Commit
•
c1fbed1
1
Parent(s):
aa78a6a
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="gpt-3.5-turbo-16k
|
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="gpt-3.5-turbo-16k",
|
10 |
prompt=prompt+"The following is the prompt from teacher working in canvas infrastructure",
|
11 |
max_tokens=1024,
|
12 |
temperature=0.5,
|