Spaces:
Runtime error
Runtime error
import openai | |
openai.api_key = "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" | |
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 "}]) | |
print(completion.choices[0].message.content) |