File size: 399 Bytes
eda8578
 
 
 
 
 
f71b308
eda8578
 
f71b308
 
eda8578
f71b308
eda8578
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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)