Files
2026-04-20 15:53:02 +08:00

17 lines
316 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AI辅助生成:deepseek-v3-22026年3月20日
import uvicorn
import os
from dotenv import load_dotenv
if __name__ == "__main__":
load_dotenv()
PORT = int(os.getenv("PORT", 8000))
uvicorn.run(
app="app.main:app",
host="0.0.0.0",
port=PORT,
workers=1
)