Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ import spaces
|
|
| 5 |
import torch
|
| 6 |
from diffusers import DiffusionPipeline, AutoencoderKL, UNet2DConditionModel, FlowMatchEulerDiscreteScheduler
|
| 7 |
|
|
|
|
| 8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 9 |
dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
| 10 |
model_repo_id = "AiArtLab/sdxs"
|
|
|
|
| 5 |
import torch
|
| 6 |
from diffusers import DiffusionPipeline, AutoencoderKL, UNet2DConditionModel, FlowMatchEulerDiscreteScheduler
|
| 7 |
|
| 8 |
+
|
| 9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 10 |
dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
| 11 |
model_repo_id = "AiArtLab/sdxs"
|