Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ for model_info in config.MODELS:
|
|
32 |
|
33 |
logger.info("Starting Flask app")
|
34 |
app = Flask(__name__)
|
35 |
-
CORS(app)
|
36 |
app.config['SOCK_SERVER_OPTIONS'] = {'ping_interval': 25}
|
37 |
sock = Sock(app)
|
38 |
|
|
|
32 |
|
33 |
logger.info("Starting Flask app")
|
34 |
app = Flask(__name__)
|
35 |
+
CORS(app,origins="*")
|
36 |
app.config['SOCK_SERVER_OPTIONS'] = {'ping_interval': 25}
|
37 |
sock = Sock(app)
|
38 |
|