rai-toolkitSC / main.py
EMaria's picture
Create main.py
1ebbe20 verified
raw
history blame contribute delete
181 Bytes
import os
from fastapi import FastAPI
from uvicorn
app = FastAPI()
if __name__ == "__main__":
port = int(os.getenv("port",7860))
uvcorn.run(app, host="0.0.0.0",port=port)