Spaces:
Sleeping
Sleeping
Download repunct.py from wldmr/freezeframe-gr: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/spaces/wldmr/freezeframe-gr/resolve/main/repunct.py
- Command line
-
hf download hf://spaces/wldmr/freezeframe-gr/repunct.py
-
curl -L -o repunct.py https://huggingface.co/spaces/wldmr/freezeframe-gr/resolve/main/repunct.py
197 Bytes
| from myrpunct import RestorePuncts | |
| def predict(input_text): | |
| rpunct = RestorePuncts() | |
| output_text = rpunct.punctuate(input_text) | |
| print("Punctuation finished...") | |
| return output_text | |