Spaces:
Running
Running
from app import create_app | |
import os | |
app = create_app() | |
if __name__ == '__main__': | |
# Hugging Face uses port 7860 | |
port = int(os.environ.get('PORT', 7860)) | |
app.run(host='0.0.0.0', port=port, debug=False) |