Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -269,10 +269,10 @@ with gr.Blocks() as demo:
|
|
269 |
#actions
|
270 |
submit_button.click(
|
271 |
fn=inference,
|
272 |
-
api_name="
|
273 |
inputs = [image],
|
274 |
outputs = [im1,im2,im3,intersections, overlayed]
|
275 |
)
|
276 |
|
277 |
if __name__ == "__main__":
|
278 |
-
demo.launch()
|
|
|
269 |
#actions
|
270 |
submit_button.click(
|
271 |
fn=inference,
|
272 |
+
api_name="predict",
|
273 |
inputs = [image],
|
274 |
outputs = [im1,im2,im3,intersections, overlayed]
|
275 |
)
|
276 |
|
277 |
if __name__ == "__main__":
|
278 |
+
demo.launch(show_api=True)
|