Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,2 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
# Fetch the API key from the environment
|
| 4 |
-
openai_api_key = os.getenv("OPENAI_API_KEY")
|
| 5 |
-
|
| 6 |
-
# Check if the key is set and print accordingly
|
| 7 |
-
if openai_api_key:
|
| 8 |
-
print("OPEN_API_KEY is set.")
|
| 9 |
-
else:
|
| 10 |
-
print("OPEN_API_KEY is not set.")
|
|
|
|
| 1 |
+
pip install youtube-transcript-api
|
| 2 |
+
pip install yt-dlp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|