sayedM commited on
Commit
0dab045
·
1 Parent(s): ad2a714

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks() as demo:
109
 
110
 
111
  # Define the event listener that connects the input and output components and triggers the function
112
- button.click(fn=get_results, inputs=[image_input, conf_slider,IOU_Slider], outputs=output, api_name="yolov8_inference")
113
 
114
  gr.Examples(inputs=examples, outputs=outputs)
115
  # Add the description below the layout
 
109
 
110
 
111
  # Define the event listener that connects the input and output components and triggers the function
112
+ button.click(fn=yolov8_inference, inputs=[image_input, conf_slider,IOU_Slider], outputs=output, api_name="yolov8_inference")
113
 
114
  gr.Examples(inputs=examples, outputs=outputs)
115
  # Add the description below the layout