Upload card.py with huggingface_hub
Browse files12345678910111213141516from .artifact import Artifactfrom .operator import StreamingOperatorfrom .templates import TemplatesList, TemplatesDictfrom .instructions import InstructionsList, InstructionsDictfrom .loaders import Loaderfrom .task import FormTask
from typing import Union, List, Optional
class TaskCard(Artifact): loader: Loader task: FormTask preprocess_steps: Optional[List[StreamingOperator]] = None templates: Union[TemplatesList, TemplatesDict] = None instructions: Union[InstructionsList, InstructionsDict] = Nonecard.pyAdded+16