Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,6 +101,7 @@ with gr.Blocks() as demo:
|
|
| 101 |
|
| 102 |
|
| 103 |
# Retrieve the Hugging Face Hub token from environment variables
|
|
|
|
| 104 |
secret_value = os.getenv("openai_api_key")
|
| 105 |
TOKEN = secret_value
|
| 106 |
|
|
|
|
| 101 |
|
| 102 |
|
| 103 |
# Retrieve the Hugging Face Hub token from environment variables
|
| 104 |
+
import os
|
| 105 |
secret_value = os.getenv("openai_api_key")
|
| 106 |
TOKEN = secret_value
|
| 107 |
|