Spaces:
Sleeping
Sleeping
Download app.py from BoChay/DeepLearning: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/spaces/BoChay/DeepLearning/resolve/main/app.py
- Command line
-
hf download hf://spaces/BoChay/DeepLearning/app.py
-
curl -L -o app.py https://huggingface.co/spaces/BoChay/DeepLearning/resolve/main/app.py
184 Bytes
| import runpy | |
| ns = runpy.run_path( | |
| "assignments/assignment-1/app/main.py", | |
| run_name="hf_space_app", | |
| ) | |
| demo = ns["create_app"]() | |
| if __name__ == "__main__": | |
| demo.launch() | |