Spaces:
Sleeping
Sleeping
mystic_CBK
Fix ECG-FM deployment: Update Dockerfile, server.py, requirements.txt with fairseq-signals integration
f71b308
| #!/usr/bin/env python3 | |
| """ | |
| Hugging Face Spaces Entry Point for ECG-FM API | |
| This file serves as the main entry point for HF Spaces deployment | |
| """ | |
| # Import our main server application | |
| from server import app | |
| # HF Spaces will automatically detect this as a FastAPI app | |
| # and serve it on the configured port | |
| if __name__ == "__main__": | |
| import uvicorn | |
| uvicorn.run(app, host="0.0.0.0", port=7860) | |