Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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>"
|