pablovela5620 commited on
Commit
8d587f4
·
verified ·
1 Parent(s): f009309

Upload gradio_app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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 = """![GitHub Repo stars](https://img.shields.io/github/stars/pablovela5620/monoprior)"""
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():