Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -418,8 +418,8 @@ def main():
|
|
418 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
419 |
|
420 |
x_start_pipeline = YOSONormalsPipeline.from_pretrained(
|
421 |
-
'
|
422 |
-
pipe = StableNormalPipeline.from_pretrained('
|
423 |
variant="fp16", torch_dtype=torch.float16,
|
424 |
scheduler=HEURI_DDIMScheduler(prediction_type='sample',
|
425 |
beta_start=0.00085, beta_end=0.0120,
|
|
|
418 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
419 |
|
420 |
x_start_pipeline = YOSONormalsPipeline.from_pretrained(
|
421 |
+
'Stable-X/yoso-normal-v0-2', trust_remote_code=True, variant="fp16", torch_dtype=torch.float16).to(device)
|
422 |
+
pipe = StableNormalPipeline.from_pretrained('Stable-X/stable-normal-v0-1', trust_remote_code=True,
|
423 |
variant="fp16", torch_dtype=torch.float16,
|
424 |
scheduler=HEURI_DDIMScheduler(prediction_type='sample',
|
425 |
beta_start=0.00085, beta_end=0.0120,
|