Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def process_image(img_path):
|
|
| 27 |
"This is Chinese text",
|
| 28 |
"This is Korean text",
|
| 29 |
"This is Russian text",
|
| 30 |
-
"This is
|
| 31 |
]
|
| 32 |
|
| 33 |
# Map detected languages to PaddleOCR language codes
|
|
@@ -37,7 +37,7 @@ def process_image(img_path):
|
|
| 37 |
"chinese": "ch",
|
| 38 |
"korean": "korean",
|
| 39 |
"russian": "ru",
|
| 40 |
-
"
|
| 41 |
}
|
| 42 |
|
| 43 |
# Text Detection
|
|
|
|
| 27 |
"This is Chinese text",
|
| 28 |
"This is Korean text",
|
| 29 |
"This is Russian text",
|
| 30 |
+
# "This is Indonesian text",
|
| 31 |
]
|
| 32 |
|
| 33 |
# Map detected languages to PaddleOCR language codes
|
|
|
|
| 37 |
"chinese": "ch",
|
| 38 |
"korean": "korean",
|
| 39 |
"russian": "ru",
|
| 40 |
+
# "indonesian": "id",
|
| 41 |
}
|
| 42 |
|
| 43 |
# Text Detection
|