Upload card.py with huggingface_hub
Browse files
card.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
|
|
|
|
|
| 1 |
from .artifact import Artifact
|
| 2 |
-
from .
|
| 3 |
-
from .templates import TemplatesList, TemplatesDict
|
| 4 |
-
from .instructions import InstructionsList, InstructionsDict
|
| 5 |
from .loaders import Loader
|
|
|
|
| 6 |
from .task import FormTask
|
| 7 |
-
|
| 8 |
-
from typing import Union, List, Optional
|
| 9 |
|
| 10 |
|
| 11 |
class TaskCard(Artifact):
|
|
|
|
| 1 |
+
from typing import List, Optional, Union
|
| 2 |
+
|
| 3 |
from .artifact import Artifact
|
| 4 |
+
from .instructions import InstructionsDict, InstructionsList
|
|
|
|
|
|
|
| 5 |
from .loaders import Loader
|
| 6 |
+
from .operator import StreamingOperator
|
| 7 |
from .task import FormTask
|
| 8 |
+
from .templates import TemplatesDict, TemplatesList
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
class TaskCard(Artifact):
|