jhj0517
commited on
Commit
โข
471a219
1
Parent(s):
ef01078
Update translation
Browse files- app.py +4 -2
- i18n/translation.yaml +20 -0
app.py
CHANGED
@@ -42,7 +42,8 @@ class App:
|
|
42 |
gr.Dropdown(label=_("Sample Parts"), visible=False,
|
43 |
choices=[part.value for part in SamplePart], value=SamplePart.ALL.value),
|
44 |
gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2),
|
45 |
-
gr.Checkbox(label=_("Enable Image Restoration"),
|
|
|
46 |
]
|
47 |
|
48 |
@staticmethod
|
@@ -54,7 +55,8 @@ class App:
|
|
54 |
gr.Slider(label=_("First frame eyes alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
|
55 |
gr.Slider(label=_("First frame mouth alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
|
56 |
gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2),
|
57 |
-
gr.Checkbox(label=_("Enable Image Restoration"),
|
|
|
58 |
]
|
59 |
|
60 |
def launch(self):
|
|
|
42 |
gr.Dropdown(label=_("Sample Parts"), visible=False,
|
43 |
choices=[part.value for part in SamplePart], value=SamplePart.ALL.value),
|
44 |
gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2),
|
45 |
+
gr.Checkbox(label=_("Enable Image Restoration"),
|
46 |
+
info=_("This enables image restoration with RealESRGAN but slows down the speed"), value=False)
|
47 |
]
|
48 |
|
49 |
@staticmethod
|
|
|
55 |
gr.Slider(label=_("First frame eyes alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
|
56 |
gr.Slider(label=_("First frame mouth alignment factor"), minimum=0, maximum=1, step=0.01, value=1),
|
57 |
gr.Slider(label=_("Face Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=2),
|
58 |
+
gr.Checkbox(label=_("Enable Image Restoration"),
|
59 |
+
info=_("This enables image restoration with RealESRGAN but slows down the speed"), value=False)
|
60 |
]
|
61 |
|
62 |
def launch(self):
|
i18n/translation.yaml
CHANGED
@@ -32,6 +32,8 @@ en: # English
|
|
32 |
First frame mouth alignment factor: First frame mouth alignment factor
|
33 |
First frame eyes alignment factor: First frame eyes alignment factor
|
34 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
35 |
|
36 |
ko: # Korean
|
37 |
Language: ์ธ์ด
|
@@ -67,6 +69,8 @@ ko: # Korean
|
|
67 |
First frame mouth alignment factor: ์ฒซ ํ๋ ์ ์
๋ฐ์ ๋น์จ
|
68 |
First frame eyes alignment factor: ์ฒซ ํ๋ ์ ๋ ๋ฐ์ ๋น์จ
|
69 |
Face Crop Factor: ์ผ๊ตด ํฌ๋กญ ๋น์จ
|
|
|
|
|
70 |
|
71 |
ja: # Japanese
|
72 |
Language: ่จ่ช
|
@@ -102,6 +106,8 @@ ja: # Japanese
|
|
102 |
First frame mouth alignment factor: First frame mouth alignment factor
|
103 |
First frame eyes alignment factor: First frame eyes alignment factor
|
104 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
105 |
|
106 |
es: # Spanish
|
107 |
Language: Idioma
|
@@ -137,6 +143,8 @@ es: # Spanish
|
|
137 |
First frame mouth alignment factor: First frame mouth alignment factor
|
138 |
First frame eyes alignment factor: First frame eyes alignment factor
|
139 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
140 |
|
141 |
fr: # French
|
142 |
Language: Langue
|
@@ -172,6 +180,8 @@ fr: # French
|
|
172 |
First frame mouth alignment factor: First frame mouth alignment factor
|
173 |
First frame eyes alignment factor: First frame eyes alignment factor
|
174 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
175 |
|
176 |
de: # German
|
177 |
Language: Sprache
|
@@ -207,6 +217,8 @@ de: # German
|
|
207 |
First frame mouth alignment factor: First frame mouth alignment factor
|
208 |
First frame eyes alignment factor: First frame eyes alignment factor
|
209 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
210 |
|
211 |
zh: # Chinese
|
212 |
Language: ่ฏญ่จ
|
@@ -242,6 +254,8 @@ zh: # Chinese
|
|
242 |
First frame mouth alignment factor: First frame mouth alignment factor
|
243 |
First frame eyes alignment factor: First frame eyes alignment factor
|
244 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
245 |
|
246 |
uk: # Ukrainian
|
247 |
Language: ะะพะฒะฐ
|
@@ -277,6 +291,8 @@ uk: # Ukrainian
|
|
277 |
First frame mouth alignment factor: First frame mouth alignment factor
|
278 |
First frame eyes alignment factor: First frame eyes alignment factor
|
279 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
280 |
|
281 |
ru: # Russian
|
282 |
Language: ะฏะทัะบ
|
@@ -312,6 +328,8 @@ ru: # Russian
|
|
312 |
First frame mouth alignment factor: First frame mouth alignment factor
|
313 |
First frame eyes alignment factor: First frame eyes alignment factor
|
314 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
315 |
|
316 |
tr: # Turkish
|
317 |
Language: Dil
|
@@ -347,3 +365,5 @@ tr: # Turkish
|
|
347 |
First frame mouth alignment factor: First frame mouth alignment factor
|
348 |
First frame eyes alignment factor: First frame eyes alignment factor
|
349 |
Face Crop Factor: Face Crop Factor
|
|
|
|
|
|
32 |
First frame mouth alignment factor: First frame mouth alignment factor
|
33 |
First frame eyes alignment factor: First frame eyes alignment factor
|
34 |
Face Crop Factor: Face Crop Factor
|
35 |
+
Enable Image Restoration: Enable Image Restoration
|
36 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|
37 |
|
38 |
ko: # Korean
|
39 |
Language: ์ธ์ด
|
|
|
69 |
First frame mouth alignment factor: ์ฒซ ํ๋ ์ ์
๋ฐ์ ๋น์จ
|
70 |
First frame eyes alignment factor: ์ฒซ ํ๋ ์ ๋ ๋ฐ์ ๋น์จ
|
71 |
Face Crop Factor: ์ผ๊ตด ํฌ๋กญ ๋น์จ
|
72 |
+
Enable Image Restoration: ํ์ง ํฅ์
|
73 |
+
This enables image restoration with RealESRGAN but slows down the speed: RealESRGAN ์ผ๋ก ํ์ง์ ํฅ์ ์ํต๋๋ค. ์๋๋ ๋๋ ค์ง๋๋ค.
|
74 |
|
75 |
ja: # Japanese
|
76 |
Language: ่จ่ช
|
|
|
106 |
First frame mouth alignment factor: First frame mouth alignment factor
|
107 |
First frame eyes alignment factor: First frame eyes alignment factor
|
108 |
Face Crop Factor: Face Crop Factor
|
109 |
+
Enable Image Restoration: Enable Image Restoration
|
110 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|
111 |
|
112 |
es: # Spanish
|
113 |
Language: Idioma
|
|
|
143 |
First frame mouth alignment factor: First frame mouth alignment factor
|
144 |
First frame eyes alignment factor: First frame eyes alignment factor
|
145 |
Face Crop Factor: Face Crop Factor
|
146 |
+
Enable Image Restoration: Enable Image Restoration
|
147 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|
148 |
|
149 |
fr: # French
|
150 |
Language: Langue
|
|
|
180 |
First frame mouth alignment factor: First frame mouth alignment factor
|
181 |
First frame eyes alignment factor: First frame eyes alignment factor
|
182 |
Face Crop Factor: Face Crop Factor
|
183 |
+
Enable Image Restoration: Enable Image Restoration
|
184 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|
185 |
|
186 |
de: # German
|
187 |
Language: Sprache
|
|
|
217 |
First frame mouth alignment factor: First frame mouth alignment factor
|
218 |
First frame eyes alignment factor: First frame eyes alignment factor
|
219 |
Face Crop Factor: Face Crop Factor
|
220 |
+
Enable Image Restoration: Enable Image Restoration
|
221 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|
222 |
|
223 |
zh: # Chinese
|
224 |
Language: ่ฏญ่จ
|
|
|
254 |
First frame mouth alignment factor: First frame mouth alignment factor
|
255 |
First frame eyes alignment factor: First frame eyes alignment factor
|
256 |
Face Crop Factor: Face Crop Factor
|
257 |
+
Enable Image Restoration: Enable Image Restoration
|
258 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|
259 |
|
260 |
uk: # Ukrainian
|
261 |
Language: ะะพะฒะฐ
|
|
|
291 |
First frame mouth alignment factor: First frame mouth alignment factor
|
292 |
First frame eyes alignment factor: First frame eyes alignment factor
|
293 |
Face Crop Factor: Face Crop Factor
|
294 |
+
Enable Image Restoration: Enable Image Restoration
|
295 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|
296 |
|
297 |
ru: # Russian
|
298 |
Language: ะฏะทัะบ
|
|
|
328 |
First frame mouth alignment factor: First frame mouth alignment factor
|
329 |
First frame eyes alignment factor: First frame eyes alignment factor
|
330 |
Face Crop Factor: Face Crop Factor
|
331 |
+
Enable Image Restoration: Enable Image Restoration
|
332 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|
333 |
|
334 |
tr: # Turkish
|
335 |
Language: Dil
|
|
|
365 |
First frame mouth alignment factor: First frame mouth alignment factor
|
366 |
First frame eyes alignment factor: First frame eyes alignment factor
|
367 |
Face Crop Factor: Face Crop Factor
|
368 |
+
Enable Image Restoration: Enable Image Restoration
|
369 |
+
This enables image restoration with RealESRGAN but slows down the speed: This enables image restoration with RealESRGAN but slows down the speed
|