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