Sakya85's picture
Create app.py
0422c35 verified
Raw
History Blame Contribute Delete
155 Bytes
# app.py
from api import app
if __name__ == "__main__":
import os
port = int(os.environ.get("PORT", 7860))
app.run(host="0.0.0.0", port=port)