Spaces:
Runtime error
Runtime error
| import os | |
| import sys | |
| import uvicorn | |
| from app import create_app | |
| if __name__ == "__main__": | |
| port = int(os.environ.get("PORT", 7860)) | |
| uvicorn.run(create_app(), host="0.0.0.0", port=port) |