Dricz commited on
Commit
e857e4e
1 Parent(s): 6cce185

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -61,17 +61,17 @@ title = "YOLOv8 Custom Object Detection by Uyen Nguyen"
61
  # ['three.jpg', 1024, 0.25, 0.25],
62
  # ['four.jpg', 832, 0.3, 0.3]]
63
 
64
- yolo_app = gr.Interface(
65
- fn=yoloV8_func,
66
- inputs=inputs,
67
- outputs=outputs,
68
- title=title,
69
- # examples=examples,
70
- # cache_examples=True,
71
- )
72
 
73
  # Launch the Gradio interface in debug mode with queue enabled
74
- yolo_app.launch()
75
 
76
- iface = gr.Interface(fn=response, inputs=inputs, outputs="image")
77
  iface.launch()
 
61
  # ['three.jpg', 1024, 0.25, 0.25],
62
  # ['four.jpg', 832, 0.3, 0.3]]
63
 
64
+ # yolo_app = gr.Interface(
65
+ # fn=yoloV8_func,
66
+ # inputs=inputs,
67
+ # outputs=outputs,
68
+ # title=title,
69
+ # # examples=examples,
70
+ # # cache_examples=True,
71
+ # )
72
 
73
  # Launch the Gradio interface in debug mode with queue enabled
74
+ # yolo_app.launch()
75
 
76
+ iface = gr.Interface(fn=response, inputs=inputs, outputs=outputs)
77
  iface.launch()