Spaces:
Sleeping
Sleeping
谢璐璟
commited on
Commit
•
088861c
1
Parent(s):
b7bd042
app.py
CHANGED
@@ -172,6 +172,7 @@ from openai import AsyncOpenAI
|
|
172 |
|
173 |
# 请确保在环境变量中设置了您的YouTube Data API密钥
|
174 |
API_KEY = "AIzaSyDyPpkFRUpUuSMQbhxwTFxCBLK5qTHU-ms"
|
|
|
175 |
|
176 |
def get_youtube_id(youtube_url):
|
177 |
if 'youtube.com' in youtube_url:
|
|
|
172 |
|
173 |
# 请确保在环境变量中设置了您的YouTube Data API密钥
|
174 |
API_KEY = "AIzaSyDyPpkFRUpUuSMQbhxwTFxCBLK5qTHU-ms"
|
175 |
+
os.environ["OPENAI_API_KEY"] = "sk-h8rybT55JORrT40y2397A06c8f2444F8Ad49407fE85eBf76"
|
176 |
|
177 |
def get_youtube_id(youtube_url):
|
178 |
if 'youtube.com' in youtube_url:
|