Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,8 @@ def start(prompt, board, api_key):
|
|
62 |
# num_tokens = encoding.encode(string)
|
63 |
content = ""
|
64 |
openai.api_key = api_key
|
65 |
-
|
|
|
66 |
model="gpt-4o",
|
67 |
messages=[{
|
68 |
"role": "user",
|
|
|
62 |
# num_tokens = encoding.encode(string)
|
63 |
content = ""
|
64 |
openai.api_key = api_key
|
65 |
+
|
66 |
+
for chunk in chat_completion = client.chat.completions.create(
|
67 |
model="gpt-4o",
|
68 |
messages=[{
|
69 |
"role": "user",
|