hackathon / server /app.py
suhaas-code
updated all files
d6c1540
raw
history blame contribute delete
221 Bytes
import os
from api.main import app
def main() -> None:
import uvicorn
port = int(os.getenv("PORT", "7860"))
uvicorn.run("server.app:app", host="0.0.0.0", port=port)
if __name__ == "__main__":
main()