File size: 215 Bytes
694a60d
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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)