Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -387,11 +387,12 @@ if __name__ == '__main__':
|
|
| 387 |
|
| 388 |
if __name__ == '__main__':
|
| 389 |
# 创建 Gradio 接口
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
|
|
|
| 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 接口
|