Add ZoeDepth (#1834)

* Add ZoeDepth

* Add einops to Studio imports.

* Specify ref for forked torch.hub repos.

* Unpin timm.

---------

Co-authored-by: Ean Garvey <87458719+monorimet@users.noreply.github.com>
Co-authored-by: Ean Garvey <garveyej@gmail.com>
This commit is contained in:
gpetters94
2023-10-30 12:57:45 -04:00
committed by GitHub
parent 7963abb8ec
commit 72e27c96fc
7 changed files with 87 additions and 4 deletions

View File

@@ -435,8 +435,13 @@ with gr.Blocks(title="Image-to-Image") as img2img_web:
elem_id="stencil_model",
label="Stencil model",
value="None",
choices=["None", "canny", "openpose", "scribble"],
allow_custom_value=True,
choices=[
"None",
"canny",
"openpose",
"scribble",
"zoedepth",
],
)
def show_canvas(choice):