softwareweaver commited on
Commit
15e3c38
·
verified ·
1 Parent(s): 9e5c459

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import torch
9
 
10
  model_repo_id = "Qwen/Qwen-Image"
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)."
 
9
 
10
  model_repo_id = "Qwen/Qwen-Image"
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)."