Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 11 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
| 12 |
|
| 13 |
model_repo = "black-forest-labs/FLUX.1-dev"
|
| 14 |
-
lora_weights = "
|
| 15 |
|
| 16 |
pipe = DiT360Pipeline.from_pretrained(model_repo, torch_dtype=torch_dtype).to(device)
|
| 17 |
pipe.load_lora_weights(lora_weights)
|
|
|
|
| 11 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
| 12 |
|
| 13 |
model_repo = "black-forest-labs/FLUX.1-dev"
|
| 14 |
+
lora_weights = "Insta360-Research/DiT360-Panorama-Image-Generation"
|
| 15 |
|
| 16 |
pipe = DiT360Pipeline.from_pretrained(model_repo, torch_dtype=torch_dtype).to(device)
|
| 17 |
pipe.load_lora_weights(lora_weights)
|