Spaces:
Running
on
Zero
Running
on
Zero
minor
Browse filesSigned-off-by: Zhang Jun <[email protected]>
- README.md +3 -2
- visualization.py +1 -1
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
|
@@ -8,6 +8,7 @@ sdk_version: 6.0.1
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# π AI Manga Translator
|
|
|
|
| 1 |
---
|
| 2 |
+
title: AI Manga Translator
|
| 3 |
+
emoji: ποΈ
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
+
short_description: Translate Manga Images
|
| 12 |
---
|
| 13 |
|
| 14 |
# π AI Manga Translator
|
visualization.py
CHANGED
|
@@ -181,7 +181,7 @@ def draw_detection_boxes(
|
|
| 181 |
line_y = start_y + j * line_height
|
| 182 |
|
| 183 |
# Draw text with a bright red color
|
| 184 |
-
text_color = (
|
| 185 |
draw.text((line_x, line_y), line, font=font_to_use, fill=text_color)
|
| 186 |
|
| 187 |
except Exception as e:
|
|
|
|
| 181 |
line_y = start_y + j * line_height
|
| 182 |
|
| 183 |
# Draw text with a bright red color
|
| 184 |
+
text_color = (150, 0, 0)
|
| 185 |
draw.text((line_x, line_y), line, font=font_to_use, fill=text_color)
|
| 186 |
|
| 187 |
except Exception as e:
|