linhcuem commited on
Commit
fd1d044
1 Parent(s): e33e666

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,14 +90,14 @@ inputs_image = [
90
  ]
91
 
92
  outputs_image =gr.outputs.Image(type="filepath", label="Output Image")
93
- count_obj = 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_obj],
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,