thwri commited on
Commit
205e4ca
1 Parent(s): e4b4ce0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,9 +19,9 @@ def modify_caption(caption: str) -> str:
19
  special_patterns = [
20
  (r'the image is , ''),
21
  (r'the image captures ', ''),
22
- (r'the image showcases ', '')
23
- (r'the image shows ', '')
24
- (r'the image ', '')
25
  ]
26
 
27
  for pattern, replacement in special_patterns:
 
19
  special_patterns = [
20
  (r'the image is , ''),
21
  (r'the image captures ', ''),
22
+ (r'the image showcases ', ''),
23
+ (r'the image shows ', ''),
24
+ (r'the image ', ''),
25
  ]
26
 
27
  for pattern, replacement in special_patterns: