pdarleyjr commited on
Commit
6065a8d
·
1 Parent(s): 26e455b

Enable API access and CORS for external requests

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -58,5 +58,8 @@ if __name__ == "__main__":
58
  root_path="",
59
  show_api=True,
60
  allowed_paths=None, # Allow all paths
61
- quiet=True # Reduce logging noise
 
 
 
62
  )
 
58
  root_path="",
59
  show_api=True,
60
  allowed_paths=None, # Allow all paths
61
+ quiet=True, # Reduce logging noise
62
+ enable_queue=True,
63
+ api_open=True, # Explicitly enable API access
64
+ cors_allowed_origins="*" # Allow cross-origin requests
65
  )