23vugarr commited on
Commit
a4299f8
1 Parent(s): 68f681e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -269,10 +269,10 @@ with gr.Blocks() as demo:
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()
 
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)