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

Try allow post in api

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -17,4 +17,5 @@ iface.launch(
17
  server_name="0.0.0.0", # Allow external connections
18
  share=True, # Create public URL
19
  allowed_paths=["*"] # Allow CORS
 
20
  )
 
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
  )