Download utils.py from digidau/mot: direct link, hf CLI and curl.
- Browser
- Download file 199 Bytes
-
https://huggingface.co/spaces/digidau/mot/resolve/main/utils.py
- Command line
-
hf download hf://spaces/digidau/mot/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/digidau/mot/resolve/main/utils.py
199 Bytes
| import re | |
| def parse_urls(text): | |
| urls = [] | |
| for line in text.splitlines(): | |
| line = line.strip() | |
| if not line: | |
| continue | |
| urls.append(line) | |
| return urls |