Spaces:
Running
Running
Akash Raj
commited on
Commit
•
f5241bd
1
Parent(s):
f531789
test
Browse files
app.py
CHANGED
@@ -29,10 +29,10 @@ output_intel = gr.Image(type="numpy", label="Intel/dpt-swinv2-tiny-256")
|
|
29 |
output_beit = gr.Image(type="numpy", label="Intel/dpt-beit-base-384")
|
30 |
|
31 |
# Create Gradio interfaces for each pipeline
|
32 |
-
iface_base = gr.Interface(process_and_display(pipe_base, output_base), inputs=gr.
|
33 |
-
iface_small = gr.Interface(process_and_display(pipe_small, output_small), inputs=gr.
|
34 |
-
iface_intel = gr.Interface(process_and_display(pipe_intel, output_intel), inputs=gr.
|
35 |
-
iface_beit = gr.Interface(process_and_display(pipe_beit, output_beit), inputs=gr.
|
36 |
|
37 |
# Launch the Gradio interfaces
|
38 |
iface_base.launch()
|
|
|
29 |
output_beit = gr.Image(type="numpy", label="Intel/dpt-beit-base-384")
|
30 |
|
31 |
# Create Gradio interfaces for each pipeline
|
32 |
+
iface_base = gr.Interface(process_and_display(pipe_base, output_base), inputs=gr.Image(type="pil"), outputs=output_base, title="Depth Estimation - LiheYoung/depth-anything-base-hf")
|
33 |
+
iface_small = gr.Interface(process_and_display(pipe_small, output_small), inputs=gr.Image(type="pil"), outputs=output_small, title="Depth Estimation - LiheYoung/depth-anything-small-hf")
|
34 |
+
iface_intel = gr.Interface(process_and_display(pipe_intel, output_intel), inputs=gr.Image(type="pil"), outputs=output_intel, title="Depth Estimation - Intel/dpt-swinv2-tiny-256")
|
35 |
+
iface_beit = gr.Interface(process_and_display(pipe_beit, output_beit), inputs=gr.Image(type="pil"), outputs=output_beit, title="Depth Estimation - Intel/dpt-beit-base-384")
|
36 |
|
37 |
# Launch the Gradio interfaces
|
38 |
iface_base.launch()
|