andreska commited on
Commit
280cbba
·
verified ·
1 Parent(s): 746c902

Enable cors

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -19,4 +19,5 @@ iface.launch(
19
  allowed_paths=["*"], # Allow CORS
20
  methods=["POST"],
21
  show_api=True,
 
22
  )
 
19
  allowed_paths=["*"], # Allow CORS
20
  methods=["POST"],
21
  show_api=True,
22
+ enable_cors=True,
23
  )