Stable-X commited on
Commit
557687d
1 Parent(s): d12ce0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -484,12 +484,12 @@ def main():
484
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
485
 
486
  x_start_pipeline = YOSONormalsPipeline.from_pretrained(
487
- 'weights/yoso-normal-v0-1', trust_remote_code=True,
488
  t_start=300).to(device)
489
  dinov2_prior = DINOv2_Encoder(size=672)
490
  dinov2_prior.to(device)
491
 
492
- pipe = StableNormalPipeline.from_pretrained('weights/stable-normal-v0-1', t_start=300, trust_remote_code=True,
493
  scheduler=HEURI_DDIMScheduler(prediction_type='sample',
494
  beta_start=0.00085, beta_end=0.0120,
495
  beta_schedule = "scaled_linear"))
 
484
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
485
 
486
  x_start_pipeline = YOSONormalsPipeline.from_pretrained(
487
+ 'Stable-X/yoso-normal-v0-1', trust_remote_code=True,
488
  t_start=300).to(device)
489
  dinov2_prior = DINOv2_Encoder(size=672)
490
  dinov2_prior.to(device)
491
 
492
+ pipe = StableNormalPipeline.from_pretrained('Stable-X/stable-normal-v0-1', t_start=300, trust_remote_code=True,
493
  scheduler=HEURI_DDIMScheduler(prediction_type='sample',
494
  beta_start=0.00085, beta_end=0.0120,
495
  beta_schedule = "scaled_linear"))