Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ DESCRIPTION = "microsoft/Florence-2-large tuned on Ejafa/ye-pop captioned with C
|
|
| 17 |
|
| 18 |
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 ', ''),
|
|
|
|
| 17 |
|
| 18 |
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 ', ''),
|