Spaces:
Paused
Paused
REVERTED to enabled API mode
Browse files- language/en.json +62 -204
- ldm_patched/modules/args_parser.py +0 -1
- modules/async_worker.py +4 -6
language/en.json
CHANGED
@@ -1,33 +1,14 @@
|
|
1 |
{
|
2 |
-
"# <center>zStudios Generative Media AI running on CPU</center>": "# <center>zStudios Generative Media AI running on CPU</center>",
|
3 |
-
"DALL-E": "DALL-E",
|
4 |
-
"Model": "Model",
|
5 |
-
"dall-e-3": "dall-e-3",
|
6 |
-
"dall-e-2": "dall-e-2",
|
7 |
-
"Quality": "Quality",
|
8 |
-
"standard": "standard",
|
9 |
-
"hd": "hd",
|
10 |
-
"Size": "Size",
|
11 |
-
"1024x1024": "1024x1024",
|
12 |
-
"256x256": "256x256",
|
13 |
-
"512x512": "512x512",
|
14 |
-
"1792x1024": "1792x1024",
|
15 |
-
"1024x1792": "1024x1792",
|
16 |
-
"Prompt": "Prompt",
|
17 |
-
"Run": "Run",
|
18 |
-
"Image Output": "Image Output",
|
19 |
-
"Fooocus": "Fooocus",
|
20 |
-
"Deactivated": "Deactivated",
|
21 |
"Preview": "Preview",
|
22 |
-
"Finished Images": "Finished Images",
|
23 |
"Gallery": "Gallery",
|
24 |
"Generate": "Generate",
|
25 |
-
"Load Parameters": "Load Parameters",
|
26 |
"Skip": "Skip",
|
27 |
"Stop": "Stop",
|
28 |
"Input Image": "Input Image",
|
29 |
"Advanced": "Advanced",
|
30 |
"Upscale or Variation": "Upscale or Variation",
|
|
|
|
|
31 |
"Drag above image to here": "Drag above image to here",
|
32 |
"Upscale or Variation:": "Upscale or Variation:",
|
33 |
"Disabled": "Disabled",
|
@@ -36,105 +17,50 @@
|
|
36 |
"Upscale (1.5x)": "Upscale (1.5x)",
|
37 |
"Upscale (2x)": "Upscale (2x)",
|
38 |
"Upscale (Fast 2x)": "Upscale (Fast 2x)",
|
39 |
-
"
|
40 |
-
"Image Prompt": "Image Prompt",
|
41 |
"Image": "Image",
|
42 |
"Stop At": "Stop At",
|
43 |
"Weight": "Weight",
|
44 |
"Type": "Type",
|
45 |
-
"ImagePrompt": "ImagePrompt",
|
46 |
"PyraCanny": "PyraCanny",
|
47 |
"CPDS": "CPDS",
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"Outpaint
|
55 |
"Left": "Left",
|
56 |
"Right": "Right",
|
57 |
"Top": "Top",
|
58 |
"Bottom": "Bottom",
|
59 |
-
"
|
60 |
-
"Inpaint or Outpaint (default)": "Inpaint or Outpaint (default)",
|
61 |
-
"Improve Detail (face, hand, eyes, etc.)": "Improve Detail (face, hand, eyes, etc.)",
|
62 |
-
"Modify Content (add objects, change background, etc.)": "Modify Content (add objects, change background, etc.)",
|
63 |
-
"Additional Prompt Quick List": "Additional Prompt Quick List",
|
64 |
-
"* Powered by Fooocus Inpaint Engine <a href=\"https://github.com/lllyasviel/Fooocus/discussions/414\" target=\"_blank\">\ud83d\udcd4 Document</a>": "* Powered by Fooocus Inpaint Engine <a href=\"https://github.com/lllyasviel/Fooocus/discussions/414\" target=\"_blank\">\ud83d\udcd4 Document</a>",
|
65 |
-
"Describe": "Describe",
|
66 |
-
"Drag any image to here": "Drag any image to here",
|
67 |
-
"Content Type": "Content Type",
|
68 |
-
"Photograph": "Photograph",
|
69 |
-
"Art/Anime": "Art/Anime",
|
70 |
-
"Describe this Image into Prompt": "Describe this Image into Prompt",
|
71 |
-
"<a href=\"https://github.com/lllyasviel/Fooocus/discussions/1363\" target=\"_blank\">\ud83d\udcd4 Document</a>": "<a href=\"https://github.com/lllyasviel/Fooocus/discussions/1363\" target=\"_blank\">\ud83d\udcd4 Document</a>",
|
72 |
-
"Metadata": "Metadata",
|
73 |
-
"Drag any image generated by Fooocus here": "Drag any image generated by Fooocus here",
|
74 |
-
"Apply Metadata": "Apply Metadata",
|
75 |
-
"uov": "uov",
|
76 |
"Setting": "Setting",
|
|
|
77 |
"Preset": "Preset",
|
78 |
-
"initial": "initial",
|
79 |
-
"realistic": "realistic",
|
80 |
-
"lightning": "lightning",
|
81 |
-
"anime": "anime",
|
82 |
-
"sai": "sai",
|
83 |
-
"default": "default",
|
84 |
-
"lcm": "lcm",
|
85 |
"Performance": "Performance",
|
86 |
"Speed": "Speed",
|
|
|
87 |
"Extreme Speed": "Extreme Speed",
|
88 |
"Lightning": "Lightning",
|
89 |
"Aspect Ratios": "Aspect Ratios",
|
90 |
-
"1152\u00d7896 <span style=\"color: grey;\"> \u2223 9:7</span>": "1152\u00d7896 <span style=\"color: grey;\"> \u2223 9:7</span>",
|
91 |
"width \u00d7 height": "width \u00d7 height",
|
92 |
-
"704\u00d71408 <span style=\"color: grey;\"> \u2223 1:2</span>": "704\u00d71408 <span style=\"color: grey;\"> \u2223 1:2</span>",
|
93 |
-
"704\u00d71344 <span style=\"color: grey;\"> \u2223 11:21</span>": "704\u00d71344 <span style=\"color: grey;\"> \u2223 11:21</span>",
|
94 |
-
"768\u00d71344 <span style=\"color: grey;\"> \u2223 4:7</span>": "768\u00d71344 <span style=\"color: grey;\"> \u2223 4:7</span>",
|
95 |
-
"768\u00d71280 <span style=\"color: grey;\"> \u2223 3:5</span>": "768\u00d71280 <span style=\"color: grey;\"> \u2223 3:5</span>",
|
96 |
-
"832\u00d71216 <span style=\"color: grey;\"> \u2223 13:19</span>": "832\u00d71216 <span style=\"color: grey;\"> \u2223 13:19</span>",
|
97 |
-
"832\u00d71152 <span style=\"color: grey;\"> \u2223 13:18</span>": "832\u00d71152 <span style=\"color: grey;\"> \u2223 13:18</span>",
|
98 |
-
"896\u00d71152 <span style=\"color: grey;\"> \u2223 7:9</span>": "896\u00d71152 <span style=\"color: grey;\"> \u2223 7:9</span>",
|
99 |
-
"896\u00d71088 <span style=\"color: grey;\"> \u2223 14:17</span>": "896\u00d71088 <span style=\"color: grey;\"> \u2223 14:17</span>",
|
100 |
-
"960\u00d71088 <span style=\"color: grey;\"> \u2223 15:17</span>": "960\u00d71088 <span style=\"color: grey;\"> \u2223 15:17</span>",
|
101 |
-
"960\u00d71024 <span style=\"color: grey;\"> \u2223 15:16</span>": "960\u00d71024 <span style=\"color: grey;\"> \u2223 15:16</span>",
|
102 |
-
"1024\u00d71024 <span style=\"color: grey;\"> \u2223 1:1</span>": "1024\u00d71024 <span style=\"color: grey;\"> \u2223 1:1</span>",
|
103 |
-
"1024\u00d7960 <span style=\"color: grey;\"> \u2223 16:15</span>": "1024\u00d7960 <span style=\"color: grey;\"> \u2223 16:15</span>",
|
104 |
-
"1088\u00d7960 <span style=\"color: grey;\"> \u2223 17:15</span>": "1088\u00d7960 <span style=\"color: grey;\"> \u2223 17:15</span>",
|
105 |
-
"1088\u00d7896 <span style=\"color: grey;\"> \u2223 17:14</span>": "1088\u00d7896 <span style=\"color: grey;\"> \u2223 17:14</span>",
|
106 |
-
"1152\u00d7832 <span style=\"color: grey;\"> \u2223 18:13</span>": "1152\u00d7832 <span style=\"color: grey;\"> \u2223 18:13</span>",
|
107 |
-
"1216\u00d7832 <span style=\"color: grey;\"> \u2223 19:13</span>": "1216\u00d7832 <span style=\"color: grey;\"> \u2223 19:13</span>",
|
108 |
-
"1280\u00d7768 <span style=\"color: grey;\"> \u2223 5:3</span>": "1280\u00d7768 <span style=\"color: grey;\"> \u2223 5:3</span>",
|
109 |
-
"1344\u00d7768 <span style=\"color: grey;\"> \u2223 7:4</span>": "1344\u00d7768 <span style=\"color: grey;\"> \u2223 7:4</span>",
|
110 |
-
"1344\u00d7704 <span style=\"color: grey;\"> \u2223 21:11</span>": "1344\u00d7704 <span style=\"color: grey;\"> \u2223 21:11</span>",
|
111 |
-
"1408\u00d7704 <span style=\"color: grey;\"> \u2223 2:1</span>": "1408\u00d7704 <span style=\"color: grey;\"> \u2223 2:1</span>",
|
112 |
-
"1472\u00d7704 <span style=\"color: grey;\"> \u2223 23:11</span>": "1472\u00d7704 <span style=\"color: grey;\"> \u2223 23:11</span>",
|
113 |
-
"1536\u00d7640 <span style=\"color: grey;\"> \u2223 12:5</span>": "1536\u00d7640 <span style=\"color: grey;\"> \u2223 12:5</span>",
|
114 |
-
"1600\u00d7640 <span style=\"color: grey;\"> \u2223 5:2</span>": "1600\u00d7640 <span style=\"color: grey;\"> \u2223 5:2</span>",
|
115 |
-
"1664\u00d7576 <span style=\"color: grey;\"> \u2223 26:9</span>": "1664\u00d7576 <span style=\"color: grey;\"> \u2223 26:9</span>",
|
116 |
-
"1728\u00d7576 <span style=\"color: grey;\"> \u2223 3:1</span>": "1728\u00d7576 <span style=\"color: grey;\"> \u2223 3:1</span>",
|
117 |
"Image Number": "Image Number",
|
118 |
-
"Output Format": "Output Format",
|
119 |
-
"png": "png",
|
120 |
-
"jpeg": "jpeg",
|
121 |
-
"webp": "webp",
|
122 |
"Negative Prompt": "Negative Prompt",
|
123 |
"Describing what you do not want to see.": "Describing what you do not want to see.",
|
124 |
"Random": "Random",
|
125 |
"Seed": "Seed",
|
126 |
-
"
|
127 |
-
"
|
128 |
-
"
|
129 |
-
"
|
|
|
130 |
"Fooocus V2": "Fooocus V2",
|
131 |
-
"
|
132 |
-
"Fooocus Sharp": "Fooocus Sharp",
|
133 |
-
"Fooocus Semi Realistic": "Fooocus Semi Realistic",
|
134 |
"Fooocus Masterpiece": "Fooocus Masterpiece",
|
135 |
"Fooocus Photograph": "Fooocus Photograph",
|
136 |
"Fooocus Negative": "Fooocus Negative",
|
137 |
-
"Fooocus Cinematic": "Fooocus Cinematic",
|
138 |
"SAI 3D Model": "SAI 3D Model",
|
139 |
"SAI Analog Film": "SAI Analog Film",
|
140 |
"SAI Anime": "SAI Anime",
|
@@ -342,90 +268,35 @@
|
|
342 |
"Volumetric Lighting": "Volumetric Lighting",
|
343 |
"Watercolor 2": "Watercolor 2",
|
344 |
"Whimsical And Playful": "Whimsical And Playful",
|
345 |
-
"
|
346 |
-
"Mk Cross Processing Print": "Mk Cross Processing Print",
|
347 |
-
"Mk Dufaycolor Photograph": "Mk Dufaycolor Photograph",
|
348 |
-
"Mk Herbarium": "Mk Herbarium",
|
349 |
-
"Mk Punk Collage": "Mk Punk Collage",
|
350 |
-
"Mk Mosaic": "Mk Mosaic",
|
351 |
-
"Mk Van Gogh": "Mk Van Gogh",
|
352 |
-
"Mk Coloring Book": "Mk Coloring Book",
|
353 |
-
"Mk Singer Sargent": "Mk Singer Sargent",
|
354 |
-
"Mk Pollock": "Mk Pollock",
|
355 |
-
"Mk Basquiat": "Mk Basquiat",
|
356 |
-
"Mk Andy Warhol": "Mk Andy Warhol",
|
357 |
-
"Mk Halftone Print": "Mk Halftone Print",
|
358 |
-
"Mk Gond Painting": "Mk Gond Painting",
|
359 |
-
"Mk Albumen Print": "Mk Albumen Print",
|
360 |
-
"Mk Aquatint Print": "Mk Aquatint Print",
|
361 |
-
"Mk Anthotype Print": "Mk Anthotype Print",
|
362 |
-
"Mk Inuit Carving": "Mk Inuit Carving",
|
363 |
-
"Mk Bromoil Print": "Mk Bromoil Print",
|
364 |
-
"Mk Calotype Print": "Mk Calotype Print",
|
365 |
-
"Mk Color Sketchnote": "Mk Color Sketchnote",
|
366 |
-
"Mk Cibulak Porcelain": "Mk Cibulak Porcelain",
|
367 |
-
"Mk Alcohol Ink Art": "Mk Alcohol Ink Art",
|
368 |
-
"Mk One Line Art": "Mk One Line Art",
|
369 |
-
"Mk Blacklight Paint": "Mk Blacklight Paint",
|
370 |
-
"Mk Carnival Glass": "Mk Carnival Glass",
|
371 |
-
"Mk Cyanotype Print": "Mk Cyanotype Print",
|
372 |
-
"Mk Cross Stitching": "Mk Cross Stitching",
|
373 |
-
"Mk Encaustic Paint": "Mk Encaustic Paint",
|
374 |
-
"Mk Embroidery": "Mk Embroidery",
|
375 |
-
"Mk Gyotaku": "Mk Gyotaku",
|
376 |
-
"Mk Luminogram": "Mk Luminogram",
|
377 |
-
"Mk Lite Brite Art": "Mk Lite Brite Art",
|
378 |
-
"Mk Mokume Gane": "Mk Mokume Gane",
|
379 |
-
"Pebble Art": "Pebble Art",
|
380 |
-
"Mk Palekh": "Mk Palekh",
|
381 |
-
"Mk Suminagashi": "Mk Suminagashi",
|
382 |
-
"Mk Scrimshaw": "Mk Scrimshaw",
|
383 |
-
"Mk Shibori": "Mk Shibori",
|
384 |
-
"Mk Vitreous Enamel": "Mk Vitreous Enamel",
|
385 |
-
"Mk Ukiyo E": "Mk Ukiyo E",
|
386 |
-
"Mk Vintage Airline Poster": "Mk Vintage Airline Poster",
|
387 |
-
"Mk Vintage Travel Poster": "Mk Vintage Travel Poster",
|
388 |
-
"Mk Bauhaus Style": "Mk Bauhaus Style",
|
389 |
-
"Mk Afrofuturism": "Mk Afrofuturism",
|
390 |
-
"Mk Atompunk": "Mk Atompunk",
|
391 |
-
"Mk Constructivism": "Mk Constructivism",
|
392 |
-
"Mk Chicano Art": "Mk Chicano Art",
|
393 |
-
"Mk De Stijl": "Mk De Stijl",
|
394 |
-
"Mk Dayak Art": "Mk Dayak Art",
|
395 |
-
"Mk Fayum Portrait": "Mk Fayum Portrait",
|
396 |
-
"Mk Illuminated Manuscript": "Mk Illuminated Manuscript",
|
397 |
-
"Mk Kalighat Painting": "Mk Kalighat Painting",
|
398 |
-
"Mk Madhubani Painting": "Mk Madhubani Painting",
|
399 |
-
"Mk Pictorialism": "Mk Pictorialism",
|
400 |
-
"Mk Pichwai Painting": "Mk Pichwai Painting",
|
401 |
-
"Mk Patachitra Painting": "Mk Patachitra Painting",
|
402 |
-
"Mk Samoan Art Inspired": "Mk Samoan Art Inspired",
|
403 |
-
"Mk Tlingit Art": "Mk Tlingit Art",
|
404 |
-
"Mk Adnate Style": "Mk Adnate Style",
|
405 |
-
"Mk Ron English Style": "Mk Ron English Style",
|
406 |
-
"Mk Shepard Fairey Style": "Mk Shepard Fairey Style",
|
407 |
"Base Model (SDXL only)": "Base Model (SDXL only)",
|
408 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
"Refiner (SDXL or SD 1.5)": "Refiner (SDXL or SD 1.5)",
|
410 |
"None": "None",
|
411 |
-
"
|
412 |
-
"
|
413 |
-
"Enable": "Enable",
|
414 |
-
"LoRA 1": "LoRA 1",
|
415 |
"sd_xl_offset_example-lora_1.0.safetensors": "sd_xl_offset_example-lora_1.0.safetensors",
|
416 |
-
"
|
417 |
-
"
|
418 |
-
"
|
419 |
-
"LoRA
|
|
|
|
|
|
|
420 |
"Refresh": "Refresh",
|
421 |
"\ud83d\udd04 Refresh All Files": "\ud83d\udd04 Refresh All Files",
|
|
|
|
|
422 |
"Guidance Scale": "Guidance Scale",
|
423 |
"Higher value means style is cleaner, vivider, and more artistic.": "Higher value means style is cleaner, vivider, and more artistic.",
|
424 |
-
"Image Sharpness": "Image Sharpness",
|
425 |
-
"Higher value means image and texture are sharper.": "Higher value means image and texture are sharper.",
|
426 |
-
"<a href=\"https://github.com/lllyasviel/Fooocus/discussions/117\" target=\"_blank\">\ud83d\udcd4 Document</a>": "<a href=\"https://github.com/lllyasviel/Fooocus/discussions/117\" target=\"_blank\">\ud83d\udcd4 Document</a>",
|
427 |
"Developer Debug Mode": "Developer Debug Mode",
|
428 |
-
"Debug Tools": "Debug Tools",
|
429 |
"Positive ADM Guidance Scaler": "Positive ADM Guidance Scaler",
|
430 |
"The scaler multiplied to positive ADM (use 1.0 to disable). ": "The scaler multiplied to positive ADM (use 1.0 to disable). ",
|
431 |
"Negative ADM Guidance Scaler": "Negative ADM Guidance Scaler",
|
@@ -440,10 +311,10 @@
|
|
440 |
"Enabling Fooocus's implementation of CFG mimicking for TSNR (effective when real CFG > mimicked CFG).": "Enabling Fooocus's implementation of CFG mimicking for TSNR (effective when real CFG > mimicked CFG).",
|
441 |
"Sampler": "Sampler",
|
442 |
"dpmpp_2m_sde_gpu": "dpmpp_2m_sde_gpu",
|
|
|
443 |
"euler": "euler",
|
444 |
"euler_ancestral": "euler_ancestral",
|
445 |
"heun": "heun",
|
446 |
-
"heunpp2": "heunpp2",
|
447 |
"dpm_2": "dpm_2",
|
448 |
"dpm_2_ancestral": "dpm_2_ancestral",
|
449 |
"lms": "lms",
|
@@ -462,14 +333,12 @@
|
|
462 |
"uni_pc_bh2": "uni_pc_bh2",
|
463 |
"Scheduler": "Scheduler",
|
464 |
"karras": "karras",
|
|
|
465 |
"normal": "normal",
|
466 |
"exponential": "exponential",
|
467 |
"sgm_uniform": "sgm_uniform",
|
468 |
"simple": "simple",
|
469 |
"ddim_uniform": "ddim_uniform",
|
470 |
-
"turbo": "turbo",
|
471 |
-
"Generate Image Grid for Each Batch": "Generate Image Grid for Each Batch",
|
472 |
-
"(Experimental) This may cause performance problems on some computers and certain internet conditions.": "(Experimental) This may cause performance problems on some computers and certain internet conditions.",
|
473 |
"Forced Overwrite of Sampling Step": "Forced Overwrite of Sampling Step",
|
474 |
"Set as -1 to disable. For developer debugging.": "Set as -1 to disable. For developer debugging.",
|
475 |
"Forced Overwrite of Refiner Switch Step": "Forced Overwrite of Refiner Switch Step",
|
@@ -483,22 +352,12 @@
|
|
483 |
"Disable preview during generation.": "Disable preview during generation.",
|
484 |
"Disable Intermediate Results": "Disable Intermediate Results",
|
485 |
"Disable intermediate results during generation, only show final gallery.": "Disable intermediate results during generation, only show final gallery.",
|
486 |
-
"
|
487 |
-
"
|
488 |
-
"
|
489 |
-
"
|
490 |
-
"
|
491 |
-
"Metadata Scheme": "Metadata Scheme",
|
492 |
-
"fooocus": "fooocus",
|
493 |
-
"Image Prompt parameters are not included. Use png and a1111 for compatibility with Civitai.": "Image Prompt parameters are not included. Use png and a1111 for compatibility with Civitai.",
|
494 |
-
"fooocus (json)": "fooocus (json)",
|
495 |
-
"a1111 (plain text)": "a1111 (plain text)",
|
496 |
-
"a1111": "a1111",
|
497 |
-
"Control": "Control",
|
498 |
"Debug Preprocessors": "Debug Preprocessors",
|
499 |
-
"See the results from preprocessors.": "See the results from preprocessors.",
|
500 |
-
"Skip Preprocessors": "Skip Preprocessors",
|
501 |
-
"Do not preprocess images. (Inputs are already canny/depth/cropped-face/etc.)": "Do not preprocess images. (Inputs are already canny/depth/cropped-face/etc.)",
|
502 |
"Mixing Image Prompt and Vary/Upscale": "Mixing Image Prompt and Vary/Upscale",
|
503 |
"Mixing Image Prompt and Inpaint": "Mixing Image Prompt and Inpaint",
|
504 |
"Softness of ControlNet": "Softness of ControlNet",
|
@@ -506,26 +365,25 @@
|
|
506 |
"Canny": "Canny",
|
507 |
"Canny Low Threshold": "Canny Low Threshold",
|
508 |
"Canny High Threshold": "Canny High Threshold",
|
509 |
-
"Inpaint": "Inpaint",
|
510 |
-
"Debug Inpaint Preprocessing": "Debug Inpaint Preprocessing",
|
511 |
-
"Disable initial latent in inpaint": "Disable initial latent in inpaint",
|
512 |
-
"Inpaint Engine": "Inpaint Engine",
|
513 |
-
"v2.6": "v2.6",
|
514 |
-
"Version of Fooocus inpaint model": "Version of Fooocus inpaint model",
|
515 |
-
"v1": "v1",
|
516 |
-
"v2.5": "v2.5",
|
517 |
-
"Inpaint Denoising Strength": "Inpaint Denoising Strength",
|
518 |
-
"Same as the denoising strength in A1111 inpaint. Only used in inpaint, not used in outpaint. (Outpaint always use 1.0)": "Same as the denoising strength in A1111 inpaint. Only used in inpaint, not used in outpaint. (Outpaint always use 1.0)",
|
519 |
-
"Inpaint Respective Field": "Inpaint Respective Field",
|
520 |
-
"The area to inpaint. Value 0 is same as \"Only Masked\" in A1111. Value 1 is same as \"Whole Image\" in A1111. Only used in inpaint, not used in outpaint. (Outpaint always use 1.0)": "The area to inpaint. Value 0 is same as \"Only Masked\" in A1111. Value 1 is same as \"Whole Image\" in A1111. Only used in inpaint, not used in outpaint. (Outpaint always use 1.0)",
|
521 |
-
"Mask Erode or Dilate": "Mask Erode or Dilate",
|
522 |
-
"Positive value will make white area in the mask larger, negative value will make white area smaller.(default is 0, always process before any mask invert)": "Positive value will make white area in the mask larger, negative value will make white area smaller.(default is 0, always process before any mask invert)",
|
523 |
-
"Enable Mask Upload": "Enable Mask Upload",
|
524 |
-
"Invert Mask": "Invert Mask",
|
525 |
"FreeU": "FreeU",
|
526 |
"Enabled": "Enabled",
|
527 |
"B1": "B1",
|
528 |
"B2": "B2",
|
529 |
"S1": "S1",
|
530 |
-
"S2": "S2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
}
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"Preview": "Preview",
|
|
|
3 |
"Gallery": "Gallery",
|
4 |
"Generate": "Generate",
|
|
|
5 |
"Skip": "Skip",
|
6 |
"Stop": "Stop",
|
7 |
"Input Image": "Input Image",
|
8 |
"Advanced": "Advanced",
|
9 |
"Upscale or Variation": "Upscale or Variation",
|
10 |
+
"Image Prompt": "Image Prompt",
|
11 |
+
"Inpaint or Outpaint (beta)": "Inpaint or Outpaint (beta)",
|
12 |
"Drag above image to here": "Drag above image to here",
|
13 |
"Upscale or Variation:": "Upscale or Variation:",
|
14 |
"Disabled": "Disabled",
|
|
|
17 |
"Upscale (1.5x)": "Upscale (1.5x)",
|
18 |
"Upscale (2x)": "Upscale (2x)",
|
19 |
"Upscale (Fast 2x)": "Upscale (Fast 2x)",
|
20 |
+
"\ud83d\udcd4 Document": "\uD83D\uDCD4 Document",
|
|
|
21 |
"Image": "Image",
|
22 |
"Stop At": "Stop At",
|
23 |
"Weight": "Weight",
|
24 |
"Type": "Type",
|
|
|
25 |
"PyraCanny": "PyraCanny",
|
26 |
"CPDS": "CPDS",
|
27 |
+
"* \"Image Prompt\" is powered by Fooocus Image Mixture Engine (v1.0.1).": "* \"Image Prompt\" is powered by Fooocus Image Mixture Engine (v1.0.1).",
|
28 |
+
"The scaler multiplied to positive ADM (use 1.0 to disable).": "The scaler multiplied to positive ADM (use 1.0 to disable).",
|
29 |
+
"The scaler multiplied to negative ADM (use 1.0 to disable).": "The scaler multiplied to negative ADM (use 1.0 to disable).",
|
30 |
+
"When to end the guidance from positive/negative ADM.": "When to end the guidance from positive/negative ADM.",
|
31 |
+
"Similar to the Control Mode in A1111 (use 0.0 to disable).": "Similar to the Control Mode in A1111 (use 0.0 to disable).",
|
32 |
+
"Outpaint Expansion (": "Outpaint Expansion (",
|
33 |
+
"Outpaint": "Outpaint",
|
34 |
"Left": "Left",
|
35 |
"Right": "Right",
|
36 |
"Top": "Top",
|
37 |
"Bottom": "Bottom",
|
38 |
+
"* \"Inpaint or Outpaint\" is powered by the sampler \"DPMPP Fooocus Seamless 2M SDE Karras Inpaint Sampler\" (beta)": "* \"Inpaint or Outpaint\" is powered by the sampler \"DPMPP Fooocus Seamless 2M SDE Karras Inpaint Sampler\" (beta)",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
"Setting": "Setting",
|
40 |
+
"Style": "Style",
|
41 |
"Preset": "Preset",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
"Performance": "Performance",
|
43 |
"Speed": "Speed",
|
44 |
+
"Quality": "Quality",
|
45 |
"Extreme Speed": "Extreme Speed",
|
46 |
"Lightning": "Lightning",
|
47 |
"Aspect Ratios": "Aspect Ratios",
|
|
|
48 |
"width \u00d7 height": "width \u00d7 height",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
"Image Number": "Image Number",
|
|
|
|
|
|
|
|
|
50 |
"Negative Prompt": "Negative Prompt",
|
51 |
"Describing what you do not want to see.": "Describing what you do not want to see.",
|
52 |
"Random": "Random",
|
53 |
"Seed": "Seed",
|
54 |
+
"Disable seed increment": "Disable seed increment",
|
55 |
+
"Disable automatic seed increment when image number is > 1.": "Disable automatic seed increment when image number is > 1.",
|
56 |
+
"Read wildcards in order": "Read wildcards in order",
|
57 |
+
"\ud83d\udcda History Log": "\uD83D\uDCDA History Log",
|
58 |
+
"Image Style": "Image Style",
|
59 |
"Fooocus V2": "Fooocus V2",
|
60 |
+
"Default (Slightly Cinematic)": "Default (Slightly Cinematic)",
|
|
|
|
|
61 |
"Fooocus Masterpiece": "Fooocus Masterpiece",
|
62 |
"Fooocus Photograph": "Fooocus Photograph",
|
63 |
"Fooocus Negative": "Fooocus Negative",
|
|
|
64 |
"SAI 3D Model": "SAI 3D Model",
|
65 |
"SAI Analog Film": "SAI Analog Film",
|
66 |
"SAI Anime": "SAI Anime",
|
|
|
268 |
"Volumetric Lighting": "Volumetric Lighting",
|
269 |
"Watercolor 2": "Watercolor 2",
|
270 |
"Whimsical And Playful": "Whimsical And Playful",
|
271 |
+
"Model": "Model",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
"Base Model (SDXL only)": "Base Model (SDXL only)",
|
273 |
+
"sd_xl_base_1.0_0.9vae.safetensors": "sd_xl_base_1.0_0.9vae.safetensors",
|
274 |
+
"bluePencilXL_v009.safetensors": "bluePencilXL_v009.safetensors",
|
275 |
+
"bluePencilXL_v050.safetensors": "bluePencilXL_v050.safetensors",
|
276 |
+
"DreamShaper_8_pruned.safetensors": "DreamShaper_8_pruned.safetensors",
|
277 |
+
"realisticStockPhoto_v10.safetensors": "realisticStockPhoto_v10.safetensors",
|
278 |
+
"realisticVisionV51_v51VAE.safetensors": "realisticVisionV51_v51VAE.safetensors",
|
279 |
+
"sd_xl_refiner_1.0_0.9vae.safetensors": "sd_xl_refiner_1.0_0.9vae.safetensors",
|
280 |
"Refiner (SDXL or SD 1.5)": "Refiner (SDXL or SD 1.5)",
|
281 |
"None": "None",
|
282 |
+
"LoRAs": "LoRAs",
|
283 |
+
"SDXL LoRA 1": "SDXL LoRA 1",
|
|
|
|
|
284 |
"sd_xl_offset_example-lora_1.0.safetensors": "sd_xl_offset_example-lora_1.0.safetensors",
|
285 |
+
"3d_render_style_xl.safetensors": "3d_render_style_xl.safetensors",
|
286 |
+
"Bloodstained-XL-V1.safetensors": "Bloodstained-XL-V1.safetensors",
|
287 |
+
"SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors": "SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors",
|
288 |
+
"SDXL LoRA 2": "SDXL LoRA 2",
|
289 |
+
"SDXL LoRA 3": "SDXL LoRA 3",
|
290 |
+
"SDXL LoRA 4": "SDXL LoRA 4",
|
291 |
+
"SDXL LoRA 5": "SDXL LoRA 5",
|
292 |
"Refresh": "Refresh",
|
293 |
"\ud83d\udd04 Refresh All Files": "\ud83d\udd04 Refresh All Files",
|
294 |
+
"Sampling Sharpness": "Sampling Sharpness",
|
295 |
+
"Higher value means image and texture are sharper.": "Higher value means image and texture are sharper.",
|
296 |
"Guidance Scale": "Guidance Scale",
|
297 |
"Higher value means style is cleaner, vivider, and more artistic.": "Higher value means style is cleaner, vivider, and more artistic.",
|
|
|
|
|
|
|
298 |
"Developer Debug Mode": "Developer Debug Mode",
|
299 |
+
"Developer Debug Tools": "Developer Debug Tools",
|
300 |
"Positive ADM Guidance Scaler": "Positive ADM Guidance Scaler",
|
301 |
"The scaler multiplied to positive ADM (use 1.0 to disable). ": "The scaler multiplied to positive ADM (use 1.0 to disable). ",
|
302 |
"Negative ADM Guidance Scaler": "Negative ADM Guidance Scaler",
|
|
|
311 |
"Enabling Fooocus's implementation of CFG mimicking for TSNR (effective when real CFG > mimicked CFG).": "Enabling Fooocus's implementation of CFG mimicking for TSNR (effective when real CFG > mimicked CFG).",
|
312 |
"Sampler": "Sampler",
|
313 |
"dpmpp_2m_sde_gpu": "dpmpp_2m_sde_gpu",
|
314 |
+
"Only effective in non-inpaint mode.": "Only effective in non-inpaint mode.",
|
315 |
"euler": "euler",
|
316 |
"euler_ancestral": "euler_ancestral",
|
317 |
"heun": "heun",
|
|
|
318 |
"dpm_2": "dpm_2",
|
319 |
"dpm_2_ancestral": "dpm_2_ancestral",
|
320 |
"lms": "lms",
|
|
|
333 |
"uni_pc_bh2": "uni_pc_bh2",
|
334 |
"Scheduler": "Scheduler",
|
335 |
"karras": "karras",
|
336 |
+
"Scheduler of Sampler.": "Scheduler of Sampler.",
|
337 |
"normal": "normal",
|
338 |
"exponential": "exponential",
|
339 |
"sgm_uniform": "sgm_uniform",
|
340 |
"simple": "simple",
|
341 |
"ddim_uniform": "ddim_uniform",
|
|
|
|
|
|
|
342 |
"Forced Overwrite of Sampling Step": "Forced Overwrite of Sampling Step",
|
343 |
"Set as -1 to disable. For developer debugging.": "Set as -1 to disable. For developer debugging.",
|
344 |
"Forced Overwrite of Refiner Switch Step": "Forced Overwrite of Refiner Switch Step",
|
|
|
352 |
"Disable preview during generation.": "Disable preview during generation.",
|
353 |
"Disable Intermediate Results": "Disable Intermediate Results",
|
354 |
"Disable intermediate results during generation, only show final gallery.": "Disable intermediate results during generation, only show final gallery.",
|
355 |
+
"Inpaint Engine": "Inpaint Engine",
|
356 |
+
"v1": "v1",
|
357 |
+
"Version of Fooocus inpaint model": "Version of Fooocus inpaint model",
|
358 |
+
"v2.5": "v2.5",
|
359 |
+
"Control Debug": "Control Debug",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
"Debug Preprocessors": "Debug Preprocessors",
|
|
|
|
|
|
|
361 |
"Mixing Image Prompt and Vary/Upscale": "Mixing Image Prompt and Vary/Upscale",
|
362 |
"Mixing Image Prompt and Inpaint": "Mixing Image Prompt and Inpaint",
|
363 |
"Softness of ControlNet": "Softness of ControlNet",
|
|
|
365 |
"Canny": "Canny",
|
366 |
"Canny Low Threshold": "Canny Low Threshold",
|
367 |
"Canny High Threshold": "Canny High Threshold",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
"FreeU": "FreeU",
|
369 |
"Enabled": "Enabled",
|
370 |
"B1": "B1",
|
371 |
"B2": "B2",
|
372 |
"S1": "S1",
|
373 |
+
"S2": "S2",
|
374 |
+
"\uD83D\uDD0E Type here to search styles ...": "\uD83D\uDD0E Type here to search styles ...",
|
375 |
+
"Type prompt here.": "Type prompt here.",
|
376 |
+
"Outpaint Expansion Direction:": "Outpaint Expansion Direction:",
|
377 |
+
"* Powered by Fooocus Inpaint Engine (beta)": "* Powered by Fooocus Inpaint Engine (beta)",
|
378 |
+
"Fooocus Enhance": "Fooocus Enhance",
|
379 |
+
"Fooocus Cinematic": "Fooocus Cinematic",
|
380 |
+
"Fooocus Sharp": "Fooocus Sharp",
|
381 |
+
"Drag any image generated by Fooocus here": "Drag any image generated by Fooocus here",
|
382 |
+
"Metadata": "Metadata",
|
383 |
+
"Apply Metadata": "Apply Metadata",
|
384 |
+
"Metadata Scheme": "Metadata Scheme",
|
385 |
+
"Image Prompt parameters are not included. Use png and a1111 for compatibility with Civitai.": "Image Prompt parameters are not included. Use png and a1111 for compatibility with Civitai.",
|
386 |
+
"fooocus (json)": "fooocus (json)",
|
387 |
+
"a1111 (plain text)": "a1111 (plain text)",
|
388 |
+
"Unsupported image type in input": "Unsupported image type in input"
|
389 |
}
|
ldm_patched/modules/args_parser.py
CHANGED
@@ -46,7 +46,6 @@ parser.add_argument("--in-browser", action="store_true")
|
|
46 |
parser.add_argument("--disable-in-browser", action="store_true")
|
47 |
parser.add_argument("--gpu-device-id", type=int, default=None, metavar="DEVICE_ID")
|
48 |
cm_group = parser.add_mutually_exclusive_group()
|
49 |
-
parser.add_argument("--api-mode", action="store_true")
|
50 |
cm_group.add_argument("--async-cuda-allocation", action="store_true")
|
51 |
cm_group.add_argument("--disable-async-cuda-allocation", action="store_true")
|
52 |
|
|
|
46 |
parser.add_argument("--disable-in-browser", action="store_true")
|
47 |
parser.add_argument("--gpu-device-id", type=int, default=None, metavar="DEVICE_ID")
|
48 |
cm_group = parser.add_mutually_exclusive_group()
|
|
|
49 |
cm_group.add_argument("--async-cuda-allocation", action="store_true")
|
50 |
cm_group.add_argument("--disable-async-cuda-allocation", action="store_true")
|
51 |
|
modules/async_worker.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import threading
|
2 |
import re
|
|
|
|
|
|
|
3 |
|
4 |
class AsyncTask:
|
5 |
def __init__(self, args):
|
@@ -16,18 +19,13 @@ def ini_args():
|
|
16 |
from args_manager import args
|
17 |
return args
|
18 |
|
19 |
-
args = ini_args()
|
20 |
-
if not args.api_mode:
|
21 |
-
from modules.patch import PatchSettings, patch_settings, patch_all
|
22 |
-
patch_all()
|
23 |
-
|
24 |
def worker():
|
25 |
global async_tasks
|
26 |
|
|
|
27 |
if args.api_mode:
|
28 |
return
|
29 |
|
30 |
-
from modules.patch import PatchSettings, patch_settings, patch_all
|
31 |
import os
|
32 |
import traceback
|
33 |
import math
|
|
|
1 |
import threading
|
2 |
import re
|
3 |
+
from modules.patch import PatchSettings, patch_settings, patch_all
|
4 |
+
|
5 |
+
patch_all()
|
6 |
|
7 |
class AsyncTask:
|
8 |
def __init__(self, args):
|
|
|
19 |
from args_manager import args
|
20 |
return args
|
21 |
|
|
|
|
|
|
|
|
|
|
|
22 |
def worker():
|
23 |
global async_tasks
|
24 |
|
25 |
+
args = ini_args()
|
26 |
if args.api_mode:
|
27 |
return
|
28 |
|
|
|
29 |
import os
|
30 |
import traceback
|
31 |
import math
|