Spaces:
Sleeping
Sleeping
Download Makefile from DeepikaChintamreddy/TransitPulse: direct link, hf CLI and curl.
- Browser
- Download file 878 Bytes
-
https://huggingface.co/spaces/DeepikaChintamreddy/TransitPulse/resolve/main/Makefile
- Command line
-
hf download hf://spaces/DeepikaChintamreddy/TransitPulse/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/DeepikaChintamreddy/TransitPulse/resolve/main/Makefile
878 Bytes
| # Makefile for TransitPulse | |
| .PHONY: data data-full benchmark serve demo cloud clean | |
| data: | |
| py generate_pings.py --scale small | |
| data-full: | |
| py generate_pings.py --scale full | |
| benchmark: | |
| py benchmark.py --run-all | |
| serve: | |
| py -m uvicorn server:app --reload --host 0.0.0.0 --port 8000 | |
| demo: | |
| py generate_pings.py --scale small | |
| py pipeline.py --input data/pings --output data/output | |
| py scripts/generate_copilot_cache.py | |
| py -m uvicorn server:app --host 0.0.0.0 --port 8000 | |
| cloud: | |
| @echo "Running in Cloud Mode (GCS + BigQuery)..." | |
| py generate_pings.py --scale small | |
| py pipeline.py --input data/pings --output data/output | |
| py scripts/generate_copilot_cache.py | |
| py loader.py | |
| SET BQ_SERVE_MODE=cloud&& py -m uvicorn server:app --host 0.0.0.0 --port 8000 | |
| clean: | |
| if exist data rmdir /s /q data | |
| if exist results\benchmark_results.json del /f /q results\benchmark_results.json | |