Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,14 +90,14 @@ inputs_image = [
|
|
90 |
]
|
91 |
|
92 |
outputs_image =gr.outputs.Image(type="filepath", label="Output Image")
|
93 |
-
|
94 |
|
95 |
title = "Tất cả do anh Đạt"
|
96 |
|
97 |
interface_image = gr.Interface(
|
98 |
fn=yolov8_img_inference,
|
99 |
inputs=inputs_image,
|
100 |
-
outputs=[outputs_image,
|
101 |
title=title,
|
102 |
examples=image_path,
|
103 |
cache_examples=True,
|
|
|
90 |
]
|
91 |
|
92 |
outputs_image =gr.outputs.Image(type="filepath", label="Output Image")
|
93 |
+
count_result = gr.Textbox(show_label=False)
|
94 |
|
95 |
title = "Tất cả do anh Đạt"
|
96 |
|
97 |
interface_image = gr.Interface(
|
98 |
fn=yolov8_img_inference,
|
99 |
inputs=inputs_image,
|
100 |
+
outputs=[outputs_image,count_result],
|
101 |
title=title,
|
102 |
examples=image_path,
|
103 |
cache_examples=True,
|