Download utils/data_processor.py from gaur3009/riots: direct link, hf CLI and curl.
- Browser
- Download file 141 Bytes
-
https://huggingface.co/spaces/gaur3009/riots/resolve/main/utils/data_processor.py
- Command line
-
hf download hf://spaces/gaur3009/riots/utils/data_processor.py
-
curl -L -o data_processor.py https://huggingface.co/spaces/gaur3009/riots/resolve/main/utils/data_processor.py
141 Bytes
| def preprocess_text(text: str) -> str: | |
| return text.strip().lower() | |
| def postprocess_text(text: str) -> str: | |
| return text.capitalize() | |