mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
8 lines
225 B
Python
8 lines
225 B
Python
import uvicorn
|
|
|
|
from app.core.config import get_settings
|
|
|
|
if __name__ == "__main__":
|
|
settings = get_settings()
|
|
uvicorn.run("app.main:app", host=settings.host, port=settings.port, log_level=settings.log_level.lower())
|