Download shared.py from userrein/Python: direct link, hf CLI and curl.
- Browser
- Download file 119 Bytes
-
https://huggingface.co/spaces/userrein/Python/resolve/6f2328f475a893ec4e9149fb4e92505c572c6f03/shared.py
- Command line
-
hf download hf://spaces/userrein/Python@6f2328f475a893ec4e9149fb4e92505c572c6f03/shared.py
-
curl -L -o shared.py https://huggingface.co/spaces/userrein/Python/resolve/6f2328f475a893ec4e9149fb4e92505c572c6f03/shared.py
119 Bytes
| from pathlib import Path | |
| import pandas as pd | |
| app_dir = Path(__file__).parent | |
| tips = pd.read_csv(app_dir / "tips.csv") |