Thedatababbler commited on
Commit
53c516b
·
1 Parent(s): 4b28765
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,9 +13,9 @@ def mlm(image, text):
13
  # 'location': f'[CLS] The {cls_name} normally appears at or near the [MASK] of a cell. [SEP]',
14
  # 'color': f'[CLS] When a cell is histologically stained, the {cls_name} are in [MASK] color. [SEP]',
15
  # 'shape': f'[CLS] Mostly the shape of {cls_name} is [MASK]. [SEP]',
16
- 'location': f'[MASK] is the typical location where {text} is at.',
17
- 'color': f'[MASK] is the typical color of {text}.',
18
- 'shape': f'[MASK] is the typical shape of {text}.',
19
  #'def': f'{cls_name} is a . [SEP]',
20
  }
21
  ans = list()
 
13
  # 'location': f'[CLS] The {cls_name} normally appears at or near the [MASK] of a cell. [SEP]',
14
  # 'color': f'[CLS] When a cell is histologically stained, the {cls_name} are in [MASK] color. [SEP]',
15
  # 'shape': f'[CLS] Mostly the shape of {cls_name} is [MASK]. [SEP]',
16
+ 'location': f'[MASK] is where the typical location where {text} is at.',
17
+ 'color': f'[MASK] color is the typical color of {text}.',
18
+ 'shape': f'[MASK] shape is the typical shape of {text}.',
19
  #'def': f'{cls_name} is a . [SEP]',
20
  }
21
  ans = list()