ProfessorLeVesseur commited on
Commit
3ca0b1c
·
verified ·
1 Parent(s): 90cfdb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ if not hf_api_key:
18
  raise ValueError("HF_API_KEY not set in environment variables")
19
 
20
  API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
21
- headers = {"Authorization": f"Bearer {huggingface_api_key}"}
22
 
23
  #------------------------------------------------------------------------
24
  # Configurations
 
18
  raise ValueError("HF_API_KEY not set in environment variables")
19
 
20
  API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
21
+ headers = {"Authorization": f"Bearer {hf_api_key}"}
22
 
23
  #------------------------------------------------------------------------
24
  # Configurations