xiaoming32236046
commited on
Commit
•
c85302d
1
Parent(s):
3cf3920
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import openai
|
3 |
import os
|
4 |
from openai import OpenAI
|
5 |
-
|
6 |
client = OpenAI(api_key=os.getenv("OPENAI_API_KEY"))
|
7 |
# 设置OpenAI的API密钥
|
8 |
|
|
|
2 |
import openai
|
3 |
import os
|
4 |
from openai import OpenAI
|
5 |
+
|
6 |
client = OpenAI(api_key=os.getenv("OPENAI_API_KEY"))
|
7 |
# 设置OpenAI的API密钥
|
8 |
|