Spaces:
Runtime error
Runtime error
keremberke
commited on
Commit
•
734f9b3
1
Parent(s):
30bf5c2
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks() as demo:
|
|
134 |
outputs=detect_output,
|
135 |
fn=predict,
|
136 |
cache_examples=False,
|
137 |
-
run_on_click=
|
138 |
)
|
139 |
with gr.Column():
|
140 |
gr.Examples(
|
@@ -143,7 +143,7 @@ with gr.Blocks() as demo:
|
|
143 |
outputs=detect_output,
|
144 |
fn=predict,
|
145 |
cache_examples=False,
|
146 |
-
run_on_click=
|
147 |
)
|
148 |
with gr.Tab("Segmentation"):
|
149 |
with gr.Row():
|
@@ -163,7 +163,7 @@ with gr.Blocks() as demo:
|
|
163 |
outputs=segment_output,
|
164 |
fn=predict,
|
165 |
cache_examples=False,
|
166 |
-
run_on_click=
|
167 |
)
|
168 |
with gr.Column():
|
169 |
gr.Examples(
|
@@ -172,7 +172,7 @@ with gr.Blocks() as demo:
|
|
172 |
outputs=segment_output,
|
173 |
fn=predict,
|
174 |
cache_examples=False,
|
175 |
-
run_on_click=
|
176 |
)
|
177 |
with gr.Tab("Classification"):
|
178 |
with gr.Row():
|
@@ -194,7 +194,7 @@ with gr.Blocks() as demo:
|
|
194 |
outputs=classify_output,
|
195 |
fn=predict,
|
196 |
cache_examples=False,
|
197 |
-
run_on_click=
|
198 |
)
|
199 |
with gr.Column():
|
200 |
gr.Examples(
|
@@ -203,7 +203,7 @@ with gr.Blocks() as demo:
|
|
203 |
outputs=classify_output,
|
204 |
fn=predict,
|
205 |
cache_examples=False,
|
206 |
-
run_on_click=
|
207 |
)
|
208 |
|
209 |
detect_button.click(
|
|
|
134 |
outputs=detect_output,
|
135 |
fn=predict,
|
136 |
cache_examples=False,
|
137 |
+
run_on_click=False,
|
138 |
)
|
139 |
with gr.Column():
|
140 |
gr.Examples(
|
|
|
143 |
outputs=detect_output,
|
144 |
fn=predict,
|
145 |
cache_examples=False,
|
146 |
+
run_on_click=False,
|
147 |
)
|
148 |
with gr.Tab("Segmentation"):
|
149 |
with gr.Row():
|
|
|
163 |
outputs=segment_output,
|
164 |
fn=predict,
|
165 |
cache_examples=False,
|
166 |
+
run_on_click=False,
|
167 |
)
|
168 |
with gr.Column():
|
169 |
gr.Examples(
|
|
|
172 |
outputs=segment_output,
|
173 |
fn=predict,
|
174 |
cache_examples=False,
|
175 |
+
run_on_click=False,
|
176 |
)
|
177 |
with gr.Tab("Classification"):
|
178 |
with gr.Row():
|
|
|
194 |
outputs=classify_output,
|
195 |
fn=predict,
|
196 |
cache_examples=False,
|
197 |
+
run_on_click=False,
|
198 |
)
|
199 |
with gr.Column():
|
200 |
gr.Examples(
|
|
|
203 |
outputs=classify_output,
|
204 |
fn=predict,
|
205 |
cache_examples=False,
|
206 |
+
run_on_click=False,
|
207 |
)
|
208 |
|
209 |
detect_button.click(
|