Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -479,12 +479,12 @@ def main():
|
|
479 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
480 |
|
481 |
x_start_pipeline = YOSONormalsPipeline.from_pretrained(
|
482 |
-
'
|
483 |
t_start=300).to(device, torch.float16)
|
484 |
dinov2_prior = DINOv2_Encoder(size=672)
|
485 |
dinov2_prior.to(device, torch.float16)
|
486 |
|
487 |
-
pipe = StableNormalPipeline.from_pretrained('
|
488 |
scheduler=HEURI_DDIMScheduler(prediction_type='sample',
|
489 |
beta_start=0.00085, beta_end=0.0120,
|
490 |
beta_schedule = "scaled_linear"))
|
|
|
479 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
480 |
|
481 |
x_start_pipeline = YOSONormalsPipeline.from_pretrained(
|
482 |
+
'Stable-X/yoso-normal-v0-1', trust_remote_code=True,
|
483 |
t_start=300).to(device, torch.float16)
|
484 |
dinov2_prior = DINOv2_Encoder(size=672)
|
485 |
dinov2_prior.to(device, torch.float16)
|
486 |
|
487 |
+
pipe = StableNormalPipeline.from_pretrained('Stable-X/stable-normal-v0-1', t_start=300, trust_remote_code=True,
|
488 |
scheduler=HEURI_DDIMScheduler(prediction_type='sample',
|
489 |
beta_start=0.00085, beta_end=0.0120,
|
490 |
beta_schedule = "scaled_linear"))
|