Created
February 24, 2022 16:38
-
-
Save kingabzpro/bf9bb2ab8962beaab73f6b34ddd02103 to your computer and use it in GitHub Desktop.
Deploying Gradio App on Spaces Using DagsHub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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