Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,6 @@ def process_image(img_path):
|
|
| 28 |
"This is Korean text",
|
| 29 |
"This is Russian text",
|
| 30 |
"This is French text",
|
| 31 |
-
"This is Latin text",
|
| 32 |
]
|
| 33 |
|
| 34 |
# Map detected languages to PaddleOCR language codes
|
|
@@ -39,7 +38,6 @@ def process_image(img_path):
|
|
| 39 |
"korean": "korean",
|
| 40 |
"russian": "ru",
|
| 41 |
"french": "fr",
|
| 42 |
-
"latin": "la",
|
| 43 |
}
|
| 44 |
|
| 45 |
# Text Detection
|
|
|
|
| 28 |
"This is Korean text",
|
| 29 |
"This is Russian text",
|
| 30 |
"This is French text",
|
|
|
|
| 31 |
]
|
| 32 |
|
| 33 |
# Map detected languages to PaddleOCR language codes
|
|
|
|
| 38 |
"korean": "korean",
|
| 39 |
"russian": "ru",
|
| 40 |
"french": "fr",
|
|
|
|
| 41 |
}
|
| 42 |
|
| 43 |
# Text Detection
|