Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
# Fetch the API key from the environment
|
| 4 |
-
|
| 5 |
|
| 6 |
# Check if the key is set and print accordingly
|
| 7 |
if youtube_api_key:
|
|
|
|
| 1 |
import os
|
| 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 youtube_api_key:
|