Upload task.py with huggingface_hub
Browse files
task.py
CHANGED
@@ -26,7 +26,7 @@ class FormTask(Tasker, StreamInstanceOperator):
|
|
26 |
for augmentable_input in self.augmentable_inputs:
|
27 |
assert (
|
28 |
augmentable_input in self.inputs
|
29 |
-
), f"augmentable_input
|
30 |
|
31 |
def process(
|
32 |
self, instance: Dict[str, Any], stream_name: Optional[str] = None
|
|
|
26 |
for augmentable_input in self.augmentable_inputs:
|
27 |
assert (
|
28 |
augmentable_input in self.inputs
|
29 |
+
), f"augmentable_input {augmentable_input} is not part of {self.inputs}"
|
30 |
|
31 |
def process(
|
32 |
self, instance: Dict[str, Any], stream_name: Optional[str] = None
|