Insta360-Research commited on
Commit
ee241e0
·
verified ·
1 Parent(s): 8495f21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "fenghora/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)
 
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)