tharms commited on
Commit
590cec9
·
1 Parent(s): cb47d56

enabled API mode

Browse files
Files changed (41) hide show
  1. __pycache__/args_manager.cpython-310.pyc +0 -0
  2. __pycache__/build_launcher.cpython-310.pyc +0 -0
  3. __pycache__/dummy_inference.cpython-310.pyc +0 -0
  4. __pycache__/fooocus_version.cpython-310.pyc +0 -0
  5. __pycache__/launch.cpython-310.pyc +0 -0
  6. __pycache__/shared.cpython-310.pyc +0 -0
  7. __pycache__/webui.cpython-310.pyc +0 -0
  8. config.txt +17 -0
  9. config_modification_tutorial.txt +131 -0
  10. language/en.json +204 -62
  11. ldm_patched/ldm/__pycache__/util.cpython-310.pyc +0 -0
  12. ldm_patched/ldm/modules/__pycache__/attention.cpython-310.pyc +0 -0
  13. ldm_patched/ldm/modules/__pycache__/sub_quadratic_attention.cpython-310.pyc +0 -0
  14. ldm_patched/ldm/modules/diffusionmodules/__pycache__/__init__.cpython-310.pyc +0 -0
  15. ldm_patched/ldm/modules/diffusionmodules/__pycache__/openaimodel.cpython-310.pyc +0 -0
  16. ldm_patched/ldm/modules/diffusionmodules/__pycache__/util.cpython-310.pyc +0 -0
  17. ldm_patched/modules/__pycache__/args_parser.cpython-310.pyc +0 -0
  18. ldm_patched/modules/__pycache__/checkpoint_pickle.cpython-310.pyc +0 -0
  19. ldm_patched/modules/__pycache__/model_base.cpython-310.pyc +0 -0
  20. ldm_patched/modules/__pycache__/model_management.cpython-310.pyc +0 -0
  21. ldm_patched/modules/__pycache__/options.cpython-310.pyc +0 -0
  22. ldm_patched/modules/__pycache__/utils.cpython-310.pyc +0 -0
  23. ldm_patched/modules/args_parser.py +1 -0
  24. modules/__pycache__/async_worker.cpython-310.pyc +0 -0
  25. modules/__pycache__/auth.cpython-310.pyc +0 -0
  26. modules/__pycache__/config.cpython-310.pyc +0 -0
  27. modules/__pycache__/constants.cpython-310.pyc +0 -0
  28. modules/__pycache__/flags.cpython-310.pyc +0 -0
  29. modules/__pycache__/gradio_hijack.cpython-310.pyc +0 -0
  30. modules/__pycache__/html.cpython-310.pyc +0 -0
  31. modules/__pycache__/launch_util.cpython-310.pyc +0 -0
  32. modules/__pycache__/localization.cpython-310.pyc +0 -0
  33. modules/__pycache__/meta_parser.cpython-310.pyc +0 -0
  34. modules/__pycache__/model_loader.cpython-310.pyc +0 -0
  35. modules/__pycache__/patch.cpython-310.pyc +0 -0
  36. modules/__pycache__/private_logger.cpython-310.pyc +0 -0
  37. modules/__pycache__/sdxl_styles.cpython-310.pyc +0 -0
  38. modules/__pycache__/style_sorter.cpython-310.pyc +0 -0
  39. modules/__pycache__/ui_gradio_extensions.cpython-310.pyc +0 -0
  40. modules/__pycache__/util.cpython-310.pyc +0 -0
  41. modules/async_worker.py +3 -3
__pycache__/args_manager.cpython-310.pyc ADDED
Binary file (1.8 kB). View file
 
__pycache__/build_launcher.cpython-310.pyc ADDED
Binary file (937 Bytes). View file
 
__pycache__/dummy_inference.cpython-310.pyc ADDED
Binary file (1.08 kB). View file
 
__pycache__/fooocus_version.cpython-310.pyc ADDED
Binary file (186 Bytes). View file
 
__pycache__/launch.cpython-310.pyc ADDED
Binary file (4.44 kB). View file
 
__pycache__/shared.cpython-310.pyc ADDED
Binary file (174 Bytes). View file
 
__pycache__/webui.cpython-310.pyc ADDED
Binary file (28.4 kB). View file
 
config.txt ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "path_checkpoints": [
3
+ "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/checkpoints"
4
+ ],
5
+ "path_loras": [
6
+ "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/loras"
7
+ ],
8
+ "path_embeddings": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/embeddings",
9
+ "path_vae_approx": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/vae_approx",
10
+ "path_upscale_models": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/upscale_models",
11
+ "path_inpaint": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/inpaint",
12
+ "path_controlnet": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/controlnet",
13
+ "path_clip_vision": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/clip_vision",
14
+ "path_fooocus_expansion": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/prompt_expansion/fooocus_expansion",
15
+ "path_wildcards": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/wildcards",
16
+ "path_outputs": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/outputs"
17
+ }
config_modification_tutorial.txt ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You can modify your "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/config.txt" using the below keys, formats, and examples.
2
+ Do not modify this file. Modifications in this file will not take effect.
3
+ This file is a tutorial and example. Please edit "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/config.txt" to really change any settings.
4
+ Remember to split the paths with "\\" rather than "\", and there is no "," before the last "}".
5
+
6
+
7
+ {
8
+ "path_checkpoints": [
9
+ "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/checkpoints"
10
+ ],
11
+ "path_loras": [
12
+ "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/loras"
13
+ ],
14
+ "path_embeddings": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/embeddings",
15
+ "path_vae_approx": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/vae_approx",
16
+ "path_upscale_models": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/upscale_models",
17
+ "path_inpaint": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/inpaint",
18
+ "path_controlnet": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/controlnet",
19
+ "path_clip_vision": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/clip_vision",
20
+ "path_fooocus_expansion": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/models/prompt_expansion/fooocus_expansion",
21
+ "path_wildcards": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/wildcards",
22
+ "path_outputs": "/Users/tharms/workspace/gradio-gan/hf/generative-media-ai/outputs",
23
+ "temp_path": "/var/folders/29/5gn3wpkn70x7xyrzs2l59jdc0000gq/T/fooocus",
24
+ "temp_path_cleanup_on_launch": true,
25
+ "default_model": "juggernautXL_v8Rundiffusion.safetensors",
26
+ "previous_default_models": [
27
+ "juggernautXL_version8Rundiffusion.safetensors",
28
+ "juggernautXL_version7Rundiffusion.safetensors",
29
+ "juggernautXL_v7Rundiffusion.safetensors",
30
+ "juggernautXL_version6Rundiffusion.safetensors",
31
+ "juggernautXL_v6Rundiffusion.safetensors"
32
+ ],
33
+ "default_refiner": "None",
34
+ "default_refiner_switch": 0.5,
35
+ "default_loras_min_weight": -2,
36
+ "default_loras_max_weight": 2,
37
+ "default_loras": [
38
+ [
39
+ true,
40
+ "sd_xl_offset_example-lora_1.0.safetensors",
41
+ 0.1
42
+ ],
43
+ [
44
+ true,
45
+ "None",
46
+ 1.0
47
+ ],
48
+ [
49
+ true,
50
+ "None",
51
+ 1.0
52
+ ],
53
+ [
54
+ true,
55
+ "None",
56
+ 1.0
57
+ ],
58
+ [
59
+ true,
60
+ "None",
61
+ 1.0
62
+ ]
63
+ ],
64
+ "default_max_lora_number": 5,
65
+ "default_cfg_scale": 4.0,
66
+ "default_sample_sharpness": 2.0,
67
+ "default_sampler": "dpmpp_2m_sde_gpu",
68
+ "default_scheduler": "karras",
69
+ "default_styles": [
70
+ "Fooocus V2",
71
+ "Fooocus Enhance",
72
+ "Fooocus Sharp"
73
+ ],
74
+ "default_prompt_negative": "",
75
+ "default_prompt": "",
76
+ "default_performance": "Speed",
77
+ "default_advanced_checkbox": false,
78
+ "default_max_image_number": 32,
79
+ "default_output_format": "png",
80
+ "default_image_number": 2,
81
+ "checkpoint_downloads": {
82
+ "juggernautXL_v8Rundiffusion.safetensors": "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/juggernautXL_v8Rundiffusion.safetensors"
83
+ },
84
+ "lora_downloads": {
85
+ "sd_xl_offset_example-lora_1.0.safetensors": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors"
86
+ },
87
+ "embeddings_downloads": {},
88
+ "available_aspect_ratios": [
89
+ "704*1408",
90
+ "704*1344",
91
+ "768*1344",
92
+ "768*1280",
93
+ "832*1216",
94
+ "832*1152",
95
+ "896*1152",
96
+ "896*1088",
97
+ "960*1088",
98
+ "960*1024",
99
+ "1024*1024",
100
+ "1024*960",
101
+ "1088*960",
102
+ "1088*896",
103
+ "1152*896",
104
+ "1152*832",
105
+ "1216*832",
106
+ "1280*768",
107
+ "1344*768",
108
+ "1344*704",
109
+ "1408*704",
110
+ "1472*704",
111
+ "1536*640",
112
+ "1600*640",
113
+ "1664*576",
114
+ "1728*576"
115
+ ],
116
+ "default_aspect_ratio": "1152*896",
117
+ "default_inpaint_engine_version": "v2.6",
118
+ "default_cfg_tsnr": 7.0,
119
+ "default_overwrite_step": -1,
120
+ "default_overwrite_switch": -1,
121
+ "example_inpaint_prompts": [
122
+ "highly detailed face",
123
+ "detailed girl face",
124
+ "detailed man face",
125
+ "detailed hand",
126
+ "beautiful eyes"
127
+ ],
128
+ "default_save_metadata_to_images": false,
129
+ "default_metadata_scheme": "fooocus",
130
+ "metadata_created_by": ""
131
+ }
language/en.json CHANGED
@@ -1,14 +1,33 @@
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,50 +36,105 @@
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,35 +342,90 @@
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,10 +440,10 @@
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,12 +462,14 @@
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,12 +483,22 @@
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,25 +506,26 @@
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
  }
 
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
  "Upscale (1.5x)": "Upscale (1.5x)",
37
  "Upscale (2x)": "Upscale (2x)",
38
  "Upscale (Fast 2x)": "Upscale (Fast 2x)",
39
+ "<a href=\"https://github.com/lllyasviel/Fooocus/discussions/390\" target=\"_blank\">\ud83d\udcd4 Document</a>": "<a href=\"https://github.com/lllyasviel/Fooocus/discussions/390\" target=\"_blank\">\ud83d\udcd4 Document</a>",
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
+ "FaceSwap": "FaceSwap",
49
+ "* \"Image Prompt\" is powered by Fooocus Image Mixture Engine (v1.0.1). <a href=\"https://github.com/lllyasviel/Fooocus/discussions/557\" target=\"_blank\">\ud83d\udcd4 Document</a>": "* \"Image Prompt\" is powered by Fooocus Image Mixture Engine (v1.0.1). <a href=\"https://github.com/lllyasviel/Fooocus/discussions/557\" target=\"_blank\">\ud83d\udcd4 Document</a>",
50
+ "Inpaint or Outpaint": "Inpaint or Outpaint",
51
+ "Drag inpaint or outpaint image to here": "Drag inpaint or outpaint image to here",
52
+ "Mask Upload": "Mask Upload",
53
+ "Inpaint Additional Prompt": "Inpaint Additional Prompt",
54
+ "Outpaint Direction": "Outpaint Direction",
55
  "Left": "Left",
56
  "Right": "Right",
57
  "Top": "Top",
58
  "Bottom": "Bottom",
59
+ "Method": "Method",
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
+ "0": "0",
127
+ "Style": "Style",
128
+ "Search Styles": "Search Styles",
129
+ "Selected Styles": "Selected Styles",
 
130
  "Fooocus V2": "Fooocus V2",
131
+ "Fooocus Enhance": "Fooocus Enhance",
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
  "Volumetric Lighting": "Volumetric Lighting",
343
  "Watercolor 2": "Watercolor 2",
344
  "Whimsical And Playful": "Whimsical And Playful",
345
+ "Mk Chromolithography": "Mk Chromolithography",
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
+ "juggernautXL_v8Rundiffusion.safetensors": "juggernautXL_v8Rundiffusion.safetensors",
 
 
 
 
 
 
409
  "Refiner (SDXL or SD 1.5)": "Refiner (SDXL or SD 1.5)",
410
  "None": "None",
411
+ "Refiner Switch At": "Refiner Switch At",
412
+ "Use 0.4 for SD1.5 realistic models; or 0.667 for SD1.5 anime models; or 0.8 for XL-refiners; or any value for switching two SDXL models.": "Use 0.4 for SD1.5 realistic models; or 0.667 for SD1.5 anime models; or 0.8 for XL-refiners; or any value for switching two SDXL models.",
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
+ "LoRA 2": "LoRA 2",
417
+ "LoRA 3": "LoRA 3",
418
+ "LoRA 4": "LoRA 4",
419
+ "LoRA 5": "LoRA 5",
 
 
 
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
  "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
  "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
  "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
+ "Disable seed increment": "Disable seed increment",
487
+ "Disable automatic seed increment when image number is > 1.": "Disable automatic seed increment when image number is > 1.",
488
+ "Read wildcards in order": "Read wildcards in order",
489
+ "Save Metadata to Images": "Save Metadata to Images",
490
+ "Adds parameters to generated images allowing manual regeneration.": "Adds parameters to generated images allowing manual regeneration.",
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
  "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
  }
ldm_patched/ldm/__pycache__/util.cpython-310.pyc ADDED
Binary file (6.22 kB). View file
 
ldm_patched/ldm/modules/__pycache__/attention.cpython-310.pyc ADDED
Binary file (18.6 kB). View file
 
ldm_patched/ldm/modules/__pycache__/sub_quadratic_attention.cpython-310.pyc ADDED
Binary file (8.09 kB). View file
 
ldm_patched/ldm/modules/diffusionmodules/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (203 Bytes). View file
 
ldm_patched/ldm/modules/diffusionmodules/__pycache__/openaimodel.cpython-310.pyc ADDED
Binary file (19.4 kB). View file
 
ldm_patched/ldm/modules/diffusionmodules/__pycache__/util.cpython-310.pyc ADDED
Binary file (10.4 kB). View file
 
ldm_patched/modules/__pycache__/args_parser.cpython-310.pyc ADDED
Binary file (4.15 kB). View file
 
ldm_patched/modules/__pycache__/checkpoint_pickle.cpython-310.pyc ADDED
Binary file (758 Bytes). View file
 
ldm_patched/modules/__pycache__/model_base.cpython-310.pyc ADDED
Binary file (14.5 kB). View file
 
ldm_patched/modules/__pycache__/model_management.cpython-310.pyc ADDED
Binary file (18.2 kB). View file
 
ldm_patched/modules/__pycache__/options.cpython-310.pyc ADDED
Binary file (328 Bytes). View file
 
ldm_patched/modules/__pycache__/utils.cpython-310.pyc ADDED
Binary file (15.2 kB). View file
 
ldm_patched/modules/args_parser.py CHANGED
@@ -46,6 +46,7 @@ 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
  cm_group.add_argument("--async-cuda-allocation", action="store_true")
50
  cm_group.add_argument("--disable-async-cuda-allocation", action="store_true")
51
 
 
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
 
modules/__pycache__/async_worker.cpython-310.pyc ADDED
Binary file (21.3 kB). View file
 
modules/__pycache__/auth.cpython-310.pyc ADDED
Binary file (1.33 kB). View file
 
modules/__pycache__/config.cpython-310.pyc ADDED
Binary file (20.9 kB). View file
 
modules/__pycache__/constants.cpython-310.pyc ADDED
Binary file (250 Bytes). View file
 
modules/__pycache__/flags.cpython-310.pyc ADDED
Binary file (4.33 kB). View file
 
modules/__pycache__/gradio_hijack.cpython-310.pyc ADDED
Binary file (17.4 kB). View file
 
modules/__pycache__/html.cpython-310.pyc ADDED
Binary file (549 Bytes). View file
 
modules/__pycache__/launch_util.cpython-310.pyc ADDED
Binary file (3.56 kB). View file
 
modules/__pycache__/localization.cpython-310.pyc ADDED
Binary file (1.81 kB). View file
 
modules/__pycache__/meta_parser.cpython-310.pyc ADDED
Binary file (16.1 kB). View file
 
modules/__pycache__/model_loader.cpython-310.pyc ADDED
Binary file (980 Bytes). View file
 
modules/__pycache__/patch.cpython-310.pyc ADDED
Binary file (14.4 kB). View file
 
modules/__pycache__/private_logger.cpython-310.pyc ADDED
Binary file (5.21 kB). View file
 
modules/__pycache__/sdxl_styles.cpython-310.pyc ADDED
Binary file (3.81 kB). View file
 
modules/__pycache__/style_sorter.cpython-310.pyc ADDED
Binary file (2.36 kB). View file
 
modules/__pycache__/ui_gradio_extensions.cpython-310.pyc ADDED
Binary file (2.49 kB). View file
 
modules/__pycache__/util.cpython-310.pyc ADDED
Binary file (12.2 kB). View file
 
modules/async_worker.py CHANGED
@@ -1,8 +1,5 @@
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):
@@ -26,6 +23,7 @@ def worker():
26
  if args.api_mode:
27
  return
28
 
 
29
  import os
30
  import traceback
31
  import math
@@ -59,6 +57,8 @@ def worker():
59
  from modules.flags import Performance
60
  from modules.meta_parser import get_metadata_parser, MetadataScheme
61
 
 
 
62
  pid = os.getpid()
63
  print(f'Started worker with PID {pid}')
64
 
 
1
  import threading
2
  import re
 
 
 
3
 
4
  class AsyncTask:
5
  def __init__(self, args):
 
23
  if args.api_mode:
24
  return
25
 
26
+ from modules.patch import PatchSettings, patch_settings, patch_all
27
  import os
28
  import traceback
29
  import math
 
57
  from modules.flags import Performance
58
  from modules.meta_parser import get_metadata_parser, MetadataScheme
59
 
60
+ patch_all()
61
+
62
  pid = os.getpid()
63
  print(f'Started worker with PID {pid}')
64