Spaces:
Runtime error
Runtime error
Download autoexpress/__init__.py from damientheodore/AutoExpress: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/spaces/damientheodore/AutoExpress/resolve/main/autoexpress/__init__.py
- Command line
-
hf download hf://spaces/damientheodore/AutoExpress/autoexpress/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/damientheodore/AutoExpress/resolve/main/autoexpress/__init__.py
292 Bytes
| from flask import Flask | |
| import sys | |
| import os | |
| parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) | |
| sys.path.insert(0, parent_dir) | |
| autoexpress = Flask(__name__) | |
| from autoexpress.views import autoexpress | |
| if __name__ == "__main__": | |
| autoexpress.run(debug=True) | |