Upload folder using huggingface_hub
Browse files- main/README.md +1 -1
- main/marigold_depth_estimation.py +1 -1
main/README.md
CHANGED
|
@@ -3129,7 +3129,7 @@ from io import BytesIO
|
|
| 3129 |
from diffusers import DiffusionPipeline
|
| 3130 |
|
| 3131 |
# load the pipeline
|
| 3132 |
-
# make sure you're logged in with `
|
| 3133 |
model_id_or_path = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
| 3134 |
# can also be used with dreamlike-art/dreamlike-photoreal-2.0
|
| 3135 |
pipe = DiffusionPipeline.from_pretrained(model_id_or_path, torch_dtype=torch.float16, custom_pipeline="pipeline_fabric").to("cuda")
|
|
|
|
| 3129 |
from diffusers import DiffusionPipeline
|
| 3130 |
|
| 3131 |
# load the pipeline
|
| 3132 |
+
# make sure you're logged in with `hf auth login`
|
| 3133 |
model_id_or_path = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
| 3134 |
# can also be used with dreamlike-art/dreamlike-photoreal-2.0
|
| 3135 |
pipe = DiffusionPipeline.from_pretrained(model_id_or_path, torch_dtype=torch.float16, custom_pipeline="pipeline_fabric").to("cuda")
|
main/marigold_depth_estimation.py
CHANGED
|
@@ -43,7 +43,7 @@ from diffusers.utils import BaseOutput, check_min_version
|
|
| 43 |
|
| 44 |
|
| 45 |
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
|
| 46 |
-
check_min_version("0.
|
| 47 |
|
| 48 |
|
| 49 |
class MarigoldDepthOutput(BaseOutput):
|
|
|
|
| 43 |
|
| 44 |
|
| 45 |
# Will error if the minimal version of diffusers is not installed. Remove at your own risks.
|
| 46 |
+
check_min_version("0.36.0.dev0")
|
| 47 |
|
| 48 |
|
| 49 |
class MarigoldDepthOutput(BaseOutput):
|