Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def init_pipeline():
|
|
| 15 |
pipe = FluxPipeline.from_pretrained(
|
| 16 |
"black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16
|
| 17 |
)
|
| 18 |
-
pipe = pipe.to("cuda")
|
| 19 |
pipe.load_lora_weights(
|
| 20 |
"Yuanshi/OminiControl",
|
| 21 |
weight_name=f"omini/subject_512.safetensors",
|
|
|
|
| 15 |
pipe = FluxPipeline.from_pretrained(
|
| 16 |
"black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16
|
| 17 |
)
|
| 18 |
+
# pipe = pipe.to("cuda")
|
| 19 |
pipe.load_lora_weights(
|
| 20 |
"Yuanshi/OminiControl",
|
| 21 |
weight_name=f"omini/subject_512.safetensors",
|