GlyphByT5 commited on
Commit
1b415ff
1 Parent(s): 358d9d0

fix: fix typo

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -54,7 +54,7 @@ multilingual_code_dict = {
54
  'de': 'German',
55
  'es': 'Spanish',
56
  'it': 'Italian',
57
- 'pt': 'Portugese',
58
  'ru': 'Russian',
59
  'jp': 'Japanese',
60
  'kr': 'Korean',
@@ -66,7 +66,7 @@ multilingual_reverse_code_dict = {
66
  'German': 'en',
67
  'Spanish': 'en',
68
  'Italian': 'en',
69
- 'Portugese': 'en',
70
  'Russian': 'en',
71
  'Japanese': 'jp',
72
  'Korean': 'kr',
@@ -1041,7 +1041,7 @@ def main():
1041
  multi_font_idx_list.append(f"{multilingual_code_dict[lang]}: {font_name}")
1042
 
1043
  html = f"""<h1>Glyph-ByT5: A Customized Text Encoder for Accurate Visual Text Rendering</h1>
1044
- <h2><a href='https://glyph-byt5.github.io/'>Project Page</a> | <a href='https://arxiv.org/abs/2403.09622'>arXiv Paper</a> | <a href=''>Github</a> | <a href=''>Cite our work</a> if our ideas inspire you.</h2>
1045
  <p><b>We present a basic version of Glyph-SDXL, and a multilingual version Glyph-SDXL-v2 supporting up to 10 languages: English, Chinese, French, German, Spanish, Portuguese, Italian, Russian, Japanese and Korean.</b></p>
1046
  <p><b>Note: due to limited capacity, we support 5000 chars in Chinese, 1148 chars in Japanese and 617 in Korean. Certain uncommon characters might not be supported for these three languages.</b></p>
1047
  <p><b>Try some examples at the bottom of the page to get started!</b></p>
@@ -1204,7 +1204,7 @@ def main():
1204
  'Posters',
1205
  'green, modern, earth, world, planet, ecology, background, globe, environment, day, space, map, concept, global, light, hour, energy, power, protect, illustration',
1206
  'white, white',
1207
- 'Portugese: Gliker-Regular; Portugese: Amsterdam-Three',
1208
  'A TERRA É O QUE TODOS NÓS TEMOS EM COMUM**********Dia da Terra',
1209
  '[0.2875379939209726, 0.2753799392097264, 0.4243161094224924, 0.060790273556231005]; [ 0.2978723404255319, 0.16170212765957448, 0.40364741641337387, 0.10638297872340426]',
1210
  1208360201,
 
54
  'de': 'German',
55
  'es': 'Spanish',
56
  'it': 'Italian',
57
+ 'pt': 'Portuguese',
58
  'ru': 'Russian',
59
  'jp': 'Japanese',
60
  'kr': 'Korean',
 
66
  'German': 'en',
67
  'Spanish': 'en',
68
  'Italian': 'en',
69
+ 'Portuguese': 'en',
70
  'Russian': 'en',
71
  'Japanese': 'jp',
72
  'Korean': 'kr',
 
1041
  multi_font_idx_list.append(f"{multilingual_code_dict[lang]}: {font_name}")
1042
 
1043
  html = f"""<h1>Glyph-ByT5: A Customized Text Encoder for Accurate Visual Text Rendering</h1>
1044
+ <h2><a href='https://glyph-byt5.github.io/'>Glyph-ByT5 Project Page</a> |<a href='https://glyph-byt5-v2.github.io/'>Glyph-ByT5-v2 Project Page</a> | <a href='https://arxiv.org/abs/2403.09622'>Glyph-ByT5 arXiv Paper</a> |<a href='https://arxiv.org/abs/2406.10208'>Glyph-ByT5-v2 arXiv Paper</a> | <a href='https://github.com/AIGText/Glyph-ByT5'>Github</a></h2>
1045
  <p><b>We present a basic version of Glyph-SDXL, and a multilingual version Glyph-SDXL-v2 supporting up to 10 languages: English, Chinese, French, German, Spanish, Portuguese, Italian, Russian, Japanese and Korean.</b></p>
1046
  <p><b>Note: due to limited capacity, we support 5000 chars in Chinese, 1148 chars in Japanese and 617 in Korean. Certain uncommon characters might not be supported for these three languages.</b></p>
1047
  <p><b>Try some examples at the bottom of the page to get started!</b></p>
 
1204
  'Posters',
1205
  'green, modern, earth, world, planet, ecology, background, globe, environment, day, space, map, concept, global, light, hour, energy, power, protect, illustration',
1206
  'white, white',
1207
+ 'Portuguese: Gliker-Regular; Portuguese: Amsterdam-Three',
1208
  'A TERRA É O QUE TODOS NÓS TEMOS EM COMUM**********Dia da Terra',
1209
  '[0.2875379939209726, 0.2753799392097264, 0.4243161094224924, 0.060790273556231005]; [ 0.2978723404255319, 0.16170212765957448, 0.40364741641337387, 0.10638297872340426]',
1210
  1208360201,