Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev",
|
|
21 |
torch_dtype=torch.bfloat16)
|
22 |
|
23 |
#pipe.enable_lora()
|
24 |
-
pipe.to(
|
25 |
|
26 |
def get_examples():
|
27 |
case = [
|
|
|
21 |
torch_dtype=torch.bfloat16)
|
22 |
|
23 |
#pipe.enable_lora()
|
24 |
+
pipe.to("cuda")
|
25 |
|
26 |
def get_examples():
|
27 |
case = [
|