Spaces:
Runtime error
Runtime error
updated requirements
Browse files
app.py
CHANGED
|
@@ -13,8 +13,7 @@ def generate_view(source_img, elevation, azimuth, camera_distance, num_inference
|
|
| 13 |
device = 'cpu'
|
| 14 |
|
| 15 |
# Prepare pipeline
|
| 16 |
-
pipeline = DiffusionPipeline.from_pretrained("ashawkey/stable-zero123-diffusers",
|
| 17 |
-
torch_dtype=torch.float16, trust_remote_code=True)
|
| 18 |
pipeline.to(device)
|
| 19 |
|
| 20 |
# Prepare input data:
|
|
|
|
| 13 |
device = 'cpu'
|
| 14 |
|
| 15 |
# Prepare pipeline
|
| 16 |
+
pipeline = DiffusionPipeline.from_pretrained("ashawkey/stable-zero123-diffusers", trust_remote_code=True)
|
|
|
|
| 17 |
pipeline.to(device)
|
| 18 |
|
| 19 |
# Prepare input data:
|