Dricz commited on
Commit
24d7427
1 Parent(s): 07456a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ def response2(image: gr.Image = None,image_size: gr.Slider = 640, conf_threshold
30
 
31
  render = render_result(model=model, image=image, result=results[0], rect_th = 1, text_th = 1)
32
 
33
- text = " "
34
 
35
 
36
  conf = float(results.boxes.conf)
@@ -80,4 +80,4 @@ title = "YOLOv8 Custom Object Detection by Uyen Nguyen"
80
  # yolo_app.launch()
81
 
82
  iface = gr.Interface(fn=response2, inputs=inputs, outputs=outputs)
83
- iface.launch()
 
30
 
31
  render = render_result(model=model, image=image, result=results[0], rect_th = 1, text_th = 1)
32
 
33
+ text = ""
34
 
35
 
36
  conf = float(results.boxes.conf)
 
80
  # yolo_app.launch()
81
 
82
  iface = gr.Interface(fn=response2, inputs=inputs, outputs=outputs)
83
+ iface.launch(debug=True)