File size: 172 Bytes
c5eb27e |
1 2 3 4 5 6 7 |
from api import app
import os
import uvicorn
if __name__ == "__main__":
uvicorn.run("server:app", host="0.0.0.0", port=int(os.environ.get('PORT', 7860)), reload=True) |
c5eb27e |
1 2 3 4 5 6 7 |
from api import app
import os
import uvicorn
if __name__ == "__main__":
uvicorn.run("server:app", host="0.0.0.0", port=int(os.environ.get('PORT', 7860)), reload=True) |