app.py
CHANGED
@@ -37,7 +37,7 @@ description = "Upload an image and see the processed results. Adjust the confide
|
|
37 |
iface = gr.Interface(
|
38 |
fn=process_image,
|
39 |
inputs=[
|
40 |
-
gr.Image(type='pil'),
|
41 |
gr.Slider(minimum=0, maximum=1, value=0.1, label="Confidence Threshold"),
|
42 |
gr.Slider(minimum=0, maximum=1, value=0.5, label="IOU Threshold")
|
43 |
],
|
|
|
37 |
iface = gr.Interface(
|
38 |
fn=process_image,
|
39 |
inputs=[
|
40 |
+
gr.Image(type='pil',value ="https://huggingface.co/spaces/tomrb/YOLOv8-TO/resolve/main/test.png"),
|
41 |
gr.Slider(minimum=0, maximum=1, value=0.1, label="Confidence Threshold"),
|
42 |
gr.Slider(minimum=0, maximum=1, value=0.5, label="IOU Threshold")
|
43 |
],
|