jzhang533 commited on
Commit
4700e59
Β·
1 Parent(s): 79927f3

Signed-off-by: Zhang Jun <[email protected]>

Files changed (2) hide show
  1. README.md +3 -2
  2. visualization.py +1 -1
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Ai Manga Translator
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 = (255, 80, 80) # Red
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: