Download app.py from AiCoderv2/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/spaces/AiCoderv2/anycoder/resolve/main/app.py
- Command line
-
hf download hf://spaces/AiCoderv2/anycoder/app.py
-
curl -L -o app.py https://huggingface.co/spaces/AiCoderv2/anycoder/resolve/main/app.py
369 Bytes
| from flask import Flask | |
| app = Flask(__name__) | |
| def home(): | |
| # We return an HTML response that includes the text "huh?" and a link to anycoder | |
| return ''' | |
| <h1>huh?</h1> | |
| <p><a href="https://huggingface.co/spaces/akhaliq/anycoder">Built with anycoder</a></p> | |
| ''' | |
| if __name__ == '__main__': | |
| app.run(host='0.0.0.0', port=5000) |