Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
'
|
488 |
t_start=300).to(device)
|
489 |
dinov2_prior = DINOv2_Encoder(size=672)
|
490 |
dinov2_prior.to(device)
|
491 |
|
492 |
-
pipe = StableNormalPipeline.from_pretrained('
|
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"))
|