Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -95,29 +95,6 @@ def app():
|
|
95 |
outputs=[output_numpy],
|
96 |
)
|
97 |
|
98 |
-
gr.Examples(
|
99 |
-
examples=[
|
100 |
-
[
|
101 |
-
"data/zidane.jpg",
|
102 |
-
"gelan-e.pt",
|
103 |
-
640,
|
104 |
-
0.4,
|
105 |
-
0.5,
|
106 |
-
],
|
107 |
-
],
|
108 |
-
fn=yolov9_inference,
|
109 |
-
inputs=[
|
110 |
-
img_path,
|
111 |
-
model_path,
|
112 |
-
image_size,
|
113 |
-
conf_threshold,
|
114 |
-
iou_threshold,
|
115 |
-
],
|
116 |
-
outputs=[output_numpy],
|
117 |
-
cache_examples=True,
|
118 |
-
)
|
119 |
-
|
120 |
-
|
121 |
gradio_app = gr.Blocks()
|
122 |
with gradio_app:
|
123 |
gr.HTML(
|
|
|
95 |
outputs=[output_numpy],
|
96 |
)
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
gradio_app = gr.Blocks()
|
99 |
with gradio_app:
|
100 |
gr.HTML(
|