Spaces:
Paused
Paused
File size: 430 Bytes
217b08b c0c4e97 217b08b c0c4e97 217b08b c0c4e97 217b08b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | """
Hugging Face Spaces entry point.
HF Spaces runs Python 3.13 and injects uvicorn/gradio automatically.
Port 7860 is required.
"""
import uvicorn
from app.main import app # noqa: F401
if __name__ == "__main__":
uvicorn.run(
"app.main:app",
host="0.0.0.0",
port=7860,
workers=1,
loop="asyncio",
log_level="info",
access_log=True,
timeout_keep_alive=30,
)
|