andreska commited on
Commit
746c902
·
verified ·
1 Parent(s): 2341eaa

Added show api

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,6 +16,7 @@ iface = gr.Interface(
16
  iface.launch(
17
  server_name="0.0.0.0", # Allow external connections
18
  share=True, # Create public URL
19
- allowed_paths=["*"] # Allow CORS
20
- methods=["POST"]
 
21
  )
 
16
  iface.launch(
17
  server_name="0.0.0.0", # Allow external connections
18
  share=True, # Create public URL
19
+ allowed_paths=["*"], # Allow CORS
20
+ methods=["POST"],
21
+ show_api=True,
22
  )