data / processors.py
Elron's picture
Upload processors.py with huggingface_hub
a57cda3
raw
history blame
No virus
201 Bytes
from .operator import FieldOperator
class ToString(FieldOperator):
def process(self, instance):
return str(instance)
# add_to_catalog(ToString('prediction'), 'processors', 'to_string')