Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
| 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
|