Spaces:
Build error
Build error
Upload gradio_app.py with huggingface_hub
Browse files- gradio_app.py +2 -0
gradio_app.py
CHANGED
@@ -31,6 +31,7 @@ except ImportError:
|
|
31 |
title = "# Depth Comparison"
|
32 |
description1 = """Demo to help compare different depth models. Including both Scale | Shift Invariant and Metric Depth types."""
|
33 |
description2 = """Invariant models mean they have no true scale and are only relative, where as Metric models have a true scale and are absolute (meters)."""
|
|
|
34 |
model_load_status: str = "Models loaded and ready to use!"
|
35 |
DEVICE: Literal["cuda"] | Literal["cpu"] = (
|
36 |
"cuda" if torch.cuda.is_available() else "cpu"
|
@@ -127,6 +128,7 @@ with gr.Blocks() as demo:
|
|
127 |
gr.Markdown(title)
|
128 |
gr.Markdown(description1)
|
129 |
gr.Markdown(description2)
|
|
|
130 |
gr.Markdown("### Depth Prediction demo")
|
131 |
|
132 |
with gr.Row():
|
|
|
31 |
title = "# Depth Comparison"
|
32 |
description1 = """Demo to help compare different depth models. Including both Scale | Shift Invariant and Metric Depth types."""
|
33 |
description2 = """Invariant models mean they have no true scale and are only relative, where as Metric models have a true scale and are absolute (meters)."""
|
34 |
+
description3 = """"""
|
35 |
model_load_status: str = "Models loaded and ready to use!"
|
36 |
DEVICE: Literal["cuda"] | Literal["cpu"] = (
|
37 |
"cuda" if torch.cuda.is_available() else "cpu"
|
|
|
128 |
gr.Markdown(title)
|
129 |
gr.Markdown(description1)
|
130 |
gr.Markdown(description2)
|
131 |
+
gr.Markdown(description3)
|
132 |
gr.Markdown("### Depth Prediction demo")
|
133 |
|
134 |
with gr.Row():
|