Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ if torch.cuda.is_available():
|
|
| 12 |
else:
|
| 13 |
torch_dtype = torch.float32
|
| 14 |
|
| 15 |
-
model_repo = "/
|
| 16 |
-
lora_weights = "/
|
| 17 |
|
| 18 |
pipe = DiT360Pipeline.from_pretrained(model_repo, torch_dtype=torch_dtype).to(device)
|
| 19 |
pipe.load_lora_weights(lora_weights)
|
|
|
|
| 12 |
else:
|
| 13 |
torch_dtype = torch.float32
|
| 14 |
|
| 15 |
+
model_repo = "black-forest-labs/FLUX.1-dev"
|
| 16 |
+
lora_weights = "fenghora/DiT360-Panorama-Image-Generation"
|
| 17 |
|
| 18 |
pipe = DiT360Pipeline.from_pretrained(model_repo, torch_dtype=torch_dtype).to(device)
|
| 19 |
pipe.load_lora_weights(lora_weights)
|