DepthConveter / app.py
DannyChi's picture
update app.py
41b7912
raw
history blame contribute delete
259 Bytes
import gradio as gr
from run import DepthMopdel
myModel = DepthMopdel()
def to_black(image):
return myModel.inference(image)
interface = gr.Interface(fn=to_black, inputs="image", outputs="image").queue(default_concurrency_limit=1)
interface.launch()