Spaces:
Sleeping
Sleeping
Update MangaTranslator.py
Browse files- MangaTranslator.py +1 -1
MangaTranslator.py
CHANGED
|
@@ -16,7 +16,7 @@ import PIL.Image
|
|
| 16 |
|
| 17 |
class MangaTranslator:
|
| 18 |
def __init__(self, yolo_model_path='comic_yolov8m.pt',
|
| 19 |
-
translation_model="LiquidAI/LFM2-
|
| 20 |
font_path="font.ttf", custom_translations=None, keep_honorifics=True, debug=True):
|
| 21 |
|
| 22 |
print("Loading YOLO model...")
|
|
|
|
| 16 |
|
| 17 |
class MangaTranslator:
|
| 18 |
def __init__(self, yolo_model_path='comic_yolov8m.pt',
|
| 19 |
+
translation_model="LiquidAI/LFM2.5-1.2B-Instruct",
|
| 20 |
font_path="font.ttf", custom_translations=None, keep_honorifics=True, debug=True):
|
| 21 |
|
| 22 |
print("Loading YOLO model...")
|