Spaces:
Running
Running
| import os | |
| import sys | |
| # Set port | |
| port = int(os.environ.get("PORT", 7860)) | |
| # Import and run Flask app | |
| from neurosight_app_with_auth import app | |
| if __name__ == "__main__": | |
| # Don't load AI models on startup (comment out model loading) | |
| app.run(host="0.0.0.0", port=port, debug=False) |