Spaces:
Runtime error
Runtime error
Alexander Hux commited on
Commit ·
c70712a
1
Parent(s): 6b98acb
Update .py
Browse files
.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import openai
|
| 2 |
|
| 3 |
-
openai.api_key = "sk-
|
| 4 |
|
| 5 |
completion = openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Give me 3 ideas for apps I could build with openai apis "}])
|
| 6 |
print(completion.choices[0].message.content)
|
|
|
|
| 1 |
import openai
|
| 2 |
|
| 3 |
+
openai.api_key = "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"
|
| 4 |
|
| 5 |
completion = openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Give me 3 ideas for apps I could build with openai apis "}])
|
| 6 |
print(completion.choices[0].message.content)
|