Dricz commited on
Commit
b1ec0c4
·
verified ·
1 Parent(s): f500e56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -12
app.py CHANGED
@@ -97,21 +97,12 @@ title = "YOLOv8 Custom Object Detection by Uyen Nguyen"
97
  examples = [['th (11).jpg', 640, 0.3, 0.6],
98
  ['th (8).jpg', 640, 0.3, 0.6],
99
  ['th (3).jpg', 640, 0.3, 0.6],
100
- # ['four.jpg', 832, 0.3, 0.3]]
 
101
  ]
102
 
 
103
 
104
- # yolo_app = gr.Interface(
105
- # fn=yoloV8_func,
106
- # inputs=inputs,
107
- # outputs=outputs,
108
- # title=title,
109
- # # examples=examples,
110
- # # cache_examples=True,
111
- # )
112
-
113
- # Launch the Gradio interface in debug mode with queue enabled
114
- # yolo_app.launch()
115
 
116
  iface = gr.Interface(fn=response2, inputs=inputs, outputs=outputs, examples=examples)
117
  iface.launch(debug=True)
 
97
  examples = [['th (11).jpg', 640, 0.3, 0.6],
98
  ['th (8).jpg', 640, 0.3, 0.6],
99
  ['th (3).jpg', 640, 0.3, 0.6],
100
+ ['th.jpg', 640, 0.15, 0.6],
101
+ ['th (2).jpg', 640, 0.15, 0.6],
102
  ]
103
 
104
+
105
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
  iface = gr.Interface(fn=response2, inputs=inputs, outputs=outputs, examples=examples)
108
  iface.launch(debug=True)