Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
6c6c022
1
Parent(s):
a23babf
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,9 @@ import os
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
-
openai.ChatCompletion.create(
|
6 |
model="gpt-3.5-turbo0301",
|
7 |
-
|
8 |
# Set OpenAI API key from environment variable
|
9 |
openai.api_key = os.environ.get("OPENAI_API_KEY")
|
10 |
|
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
+
openai.ChatCompletion.create(
|
6 |
model="gpt-3.5-turbo0301",
|
7 |
+
)
|
8 |
# Set OpenAI API key from environment variable
|
9 |
openai.api_key = os.environ.get("OPENAI_API_KEY")
|
10 |
|