Skip to content

Commit d8c0b0e

Browse files
authored
补充modal范围 (#165)
1 parent fc9fb07 commit d8c0b0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runtime/ops/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ language: 'python'
1313
vendor: 'huawei'
1414
raw_id: 'TestMapper'
1515
version: '1.0.0'
16-
modal: 'text'
16+
modal: 'text' # text/image/audio/video/multimodal
1717
inputs: 'text'
1818
outputs: 'text'
1919
```
@@ -35,7 +35,7 @@ class TestMapper(Mapper):
3535
sample[self.text_key] += "\n新增的数据"
3636
return sample
3737

38-
38+
3939
# Filter用于过滤和选择性保留数据,使用时将需要过滤的数据的text或data置为空值
4040
from datamate.core.base_op import Filter
4141

@@ -86,4 +86,4 @@ from datamate.core.base_op import OPERATORS
8686
OPERATORS.register_module(module_name='TestMapper',
8787
module_path="ops.user.test_operator.process")
8888

89-
```
89+
```

0 commit comments

Comments
 (0)