Spaces:
Running
Running
Download app.py from MightHubHumAI/FinC2E-Governance: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/spaces/MightHubHumAI/FinC2E-Governance/resolve/main/app.py
- Command line
-
hf download hf://spaces/MightHubHumAI/FinC2E-Governance/app.py
-
curl -L -o app.py https://huggingface.co/spaces/MightHubHumAI/FinC2E-Governance/resolve/main/app.py
346 Bytes
| from flask import Flask, send_from_directory | |
| app = Flask(__name__, static_folder=".", static_url_path="") | |
| def root(): | |
| return send_from_directory(".", "index.html") | |
| def static_files(path): | |
| return send_from_directory(".", path) | |
| if __name__ == "__main__": | |
| app.run(host="0.0.0.0", port=7860) |