plutosss commited on
Commit
d34df05
·
verified ·
1 Parent(s): 8aabfe9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -387,11 +387,12 @@ if __name__ == '__main__':
387
 
388
  if __name__ == '__main__':
389
  # 创建 Gradio 接口
390
- interface = gr.Interface(fn=process_line,
391
- inputs=gr.Image(type="numpy", label="Upload Image"),
392
- outputs=gr.Image(label="Output Image"),
393
- title="Image Processing",
394
- description="Upload an image to process it using depth-anything and TEED.")
 
395
 
396
 
397
  # 启动 Gradio 接口
 
387
 
388
  if __name__ == '__main__':
389
  # 创建 Gradio 接口
390
+ interface = gr.Interface(fn=process_line,
391
+ inputs=gr.Image(type="numpy", label="Upload Image"),
392
+ outputs=gr.Image(label="Output Image"),
393
+ title="Image Processing",
394
+ description="Upload an image to process it using depth-anything and TEED.")
395
+
396
 
397
 
398
  # 启动 Gradio 接口