Spaces:
Sleeping
Sleeping
File size: 385 Bytes
5ff6b14 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#!/usr/bin/env python3
"""
Main entry point for HuggingFace Spaces deployment.
This is the standard entry point that HuggingFace expects.
"""
import uvicorn
from api.api import app
if __name__ == "__main__":
# HuggingFace Spaces runs on port 7860 by default
uvicorn.run(
app,
host="0.0.0.0",
port=7860,
log_level="info"
)
|