ecg-fm-api / app.py
mystic_CBK
Fix ECG-FM deployment: Update Dockerfile, server.py, requirements.txt with fairseq-signals integration
f71b308
raw
history blame contribute delete
399 Bytes
#!/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)