6363a30 41b7912 6363a30
1
2
3
4
5
6
7
8
9
10
11
12
13
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()