swara-api / app.py
Zakha123-cyber
Initial deployment: SWARA API with eye tracking, facial expression, and gesture detection
8e73bed
raw
history blame
375 Bytes
"""
SWARA API - Entry Point untuk HuggingFace Spaces (Non-Docker)
"""
import os
import uvicorn
from app.main import app
if __name__ == "__main__":
# Get port from environment (HuggingFace uses 7860)
port = int(os.environ.get("PORT", 7860))
# Run server
uvicorn.run(
app,
host="0.0.0.0",
port=port,
log_level="info"
)