Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ model_repo_id = "Qwen/Qwen-Image"
|
|
| 11 |
hf_token = os.getenv("HF_TOKEN_SPACES")
|
| 12 |
if HF_TOKEN is None:
|
| 13 |
raise RuntimeError(
|
| 14 |
-
"
|
| 15 |
"Add it in the Space settings (Variables & secrets)."
|
| 16 |
)
|
| 17 |
|
|
|
|
| 11 |
hf_token = os.getenv("HF_TOKEN_SPACES")
|
| 12 |
if HF_TOKEN is None:
|
| 13 |
raise RuntimeError(
|
| 14 |
+
"HF_TOKEN_SPACES is not set in the environment. "
|
| 15 |
"Add it in the Space settings (Variables & secrets)."
|
| 16 |
)
|
| 17 |
|