Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import spaces
|
|
5 |
import torch
|
6 |
from diffusers import DiffusionPipeline
|
7 |
dtype = torch.bfloat16
|
8 |
-
# for initial data
|
9 |
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=dtype).to("cpu")
|
10 |
|
11 |
|
|
|
5 |
import torch
|
6 |
from diffusers import DiffusionPipeline
|
7 |
dtype = torch.bfloat16
|
8 |
+
# for trying initial data load before gpu calling
|
9 |
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=dtype).to("cpu")
|
10 |
|
11 |
|