kadirnar commited on
Commit
29522fd
1 Parent(s): 0fc004c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -10,6 +10,8 @@ import spaces
10
  import torch
11
  from diffusers import StableDiffusion3Pipeline, DPMSolverSinglestepScheduler, AutoencoderKL
12
 
 
 
13
  DESCRIPTION = """# Stable Diffusion 3"""
14
  if not torch.cuda.is_available():
15
  DESCRIPTION += "\n<p>Running on CPU 🥶 This demo may not work on CPU.</p>"
 
10
  import torch
11
  from diffusers import StableDiffusion3Pipeline, DPMSolverSinglestepScheduler, AutoencoderKL
12
 
13
+ huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
14
+
15
  DESCRIPTION = """# Stable Diffusion 3"""
16
  if not torch.cuda.is_available():
17
  DESCRIPTION += "\n<p>Running on CPU 🥶 This demo may not work on CPU.</p>"