Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import gradio as gr
|
|
| 6 |
from huggingface_hub import hf_hub_download
|
| 7 |
|
| 8 |
# Ensure the Hugging Face token is retrieved from environment variables
|
| 9 |
-
huggingface_token = os.getenv("
|
| 10 |
|
| 11 |
# Check if the token is available
|
| 12 |
if huggingface_token is None:
|
|
|
|
| 6 |
from huggingface_hub import hf_hub_download
|
| 7 |
|
| 8 |
# Ensure the Hugging Face token is retrieved from environment variables
|
| 9 |
+
huggingface_token = os.getenv("HF_TOKEN")
|
| 10 |
|
| 11 |
# Check if the token is available
|
| 12 |
if huggingface_token is None:
|