Spaces:
Sleeping
Sleeping
updated
#1
by
HaoMingSun
- opened
app.py
CHANGED
@@ -2,6 +2,7 @@ from openai import OpenAI
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
|
|
5 |
# Set your OpenAI API key
|
6 |
client = OpenAI(
|
7 |
api_key=os.environ["APITOKEN"], # this is also the default, it can be omitted
|
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
+
|
6 |
# Set your OpenAI API key
|
7 |
client = OpenAI(
|
8 |
api_key=os.environ["APITOKEN"], # this is also the default, it can be omitted
|