Download makefile from debaghtk/ryangpt: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/debaghtk/ryangpt/resolve/main/makefile
- Command line
-
hf download hf://spaces/debaghtk/ryangpt/makefile
-
curl -L -o makefile https://huggingface.co/spaces/debaghtk/ryangpt/resolve/main/makefile
387 Bytes
| # Makefile | |
| # Variables | |
| PYTHON_FILE := app.py | |
| NOTEBOOK_FILE := app.ipynb | |
| # Default target | |
| all: convert_to_notebook | |
| # Convert Python file to Jupyter Notebook | |
| convert_to_notebook: install_jupytext | |
| jupytext --to notebook $(PYTHON_FILE) -o $(NOTEBOOK_FILE) | |
| # Clean up generated files | |
| clean: | |
| rm -f $(NOTEBOOK_FILE) | |
| # Phony targets | |