Skip to content

Instantly share code, notes, and snippets.

@kingabzpro
Created February 24, 2022 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kingabzpro/bf9bb2ab8962beaab73f6b34ddd02103 to your computer and use it in GitHub Desktop.
Save kingabzpro/bf9bb2ab8962beaab73f6b34ddd02103 to your computer and use it in GitHub Desktop.
Deploying Gradio App on Spaces Using DagsHub
title = "SavtaDepth WebApp"
description = "Savta Depth is a collaborative Open Source Data Science project for monocular depth estimation"
article = "[SavtaDepth Project from OperationSavta]('https://dagshub.com/OperationSavta/SavtaDepth')"
examples = [
["examples/00008.jpg"],
["examples/00045.jpg"],
]
iface = gr.Interface(
gen,
gr.inputs.Image(shape=(640, 480), type="numpy"),
"image",
title=title,
description=description,
article=article,
examples=examples,
theme="peach",
allow_flagging="manual"
)
iface.launch(enable_queue=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment