Download app/DataProcessor/TxtProcessor.py from imlpfffff/HoLa-BRep: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/spaces/imlpfffff/HoLa-BRep/resolve/main/app/DataProcessor/TxtProcessor.py
- Command line
-
hf download hf://spaces/imlpfffff/HoLa-BRep/app/DataProcessor/TxtProcessor.py
-
curl -L -o TxtProcessor.py https://huggingface.co/spaces/imlpfffff/HoLa-BRep/resolve/main/app/DataProcessor/TxtProcessor.py
200 Bytes
| from app.DataProcessor.DataProcessor import DataProcessor | |
| class TextProcessor(DataProcessor): | |
| def process_input_data(self, text: str): | |
| return { "txt" : [text[0]] * self.NUM_PROPOSALS} |