neverix commited on
Commit
279f60d
·
1 Parent(s): ed4fe9c

Fix textbox

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def main():
31
  midas = MidasDepth()
32
  interface = gr.Interface(fn=lambda x: [Image.fromarray(midas.get_depth(x[0]).astype("uint8")), ""], inputs=[
33
  gr.inputs.Image(),
34
- gr.inputs.Text()
35
  ], outputs=[
36
  gr.outputs.Image(),
37
  gr.outputs.Video()
 
31
  midas = MidasDepth()
32
  interface = gr.Interface(fn=lambda x: [Image.fromarray(midas.get_depth(x[0]).astype("uint8")), ""], inputs=[
33
  gr.inputs.Image(),
34
+ gr.inputs.Textbox()
35
  ], outputs=[
36
  gr.outputs.Image(),
37
  gr.outputs.Video()