adamelliotfields commited on
Commit
5e223b0
·
verified ·
1 Parent(s): 8848a7c

Gradio v4.44.1

Browse files
Files changed (5) hide show
  1. DOCS.md +2 -0
  2. README.md +1 -1
  3. lib/config.py +1 -1
  4. lib/pipelines.py +1 -1
  5. requirements.txt +1 -1
DOCS.md CHANGED
@@ -57,6 +57,8 @@ For capturing faces, enable `IP-Adapter Face` to use the full-face model. You sh
57
 
58
  Add `<fast_negative>` anywhere in your negative prompt to apply the [FastNegative v2](https://civitai.com/models/71961?modelVersionId=94057) textual inversion embedding. Read [An Image is Worth One Word](https://huggingface.co/papers/2208.01618) to learn more.
59
 
 
 
60
  #### DeepCache
61
 
62
  [DeepCache](https://github.com/horseee/DeepCache) caches lower UNet layers and reuses them every _n_ steps. Trade quality for speed:
 
57
 
58
  Add `<fast_negative>` anywhere in your negative prompt to apply the [FastNegative v2](https://civitai.com/models/71961?modelVersionId=94057) textual inversion embedding. Read [An Image is Worth One Word](https://huggingface.co/papers/2208.01618) to learn more.
59
 
60
+ > 💡 Wrap in parens to weight the embedding like `(<fast_negative>)0.8`.
61
+
62
  #### DeepCache
63
 
64
  [DeepCache](https://github.com/horseee/DeepCache) caches lower UNet layers and reuses them every _n_ steps. Trade quality for speed:
README.md CHANGED
@@ -6,7 +6,7 @@ emoji: 🧨
6
  colorFrom: purple
7
  colorTo: blue
8
  sdk: gradio
9
- sdk_version: 4.44.0
10
  python_version: 3.11.9
11
  app_file: app.py
12
  fullWidth: false
 
6
  colorFrom: purple
7
  colorTo: blue
8
  sdk: gradio
9
+ sdk_version: 4.44.1
10
  python_version: 3.11.9
11
  app_file: app.py
12
  fullWidth: false
lib/config.py CHANGED
@@ -86,7 +86,7 @@ Config = SimpleNamespace(
86
  "controlnet_txt2img": CustomStableDiffusionControlNetPipeline,
87
  "controlnet_img2img": CustomStableDiffusionControlNetImg2ImgPipeline,
88
  },
89
- MODEL="XpucT/Deliberate",
90
  MODELS=[
91
  "cyberdelia/CyberRealistic",
92
  "fluently/Fluently-v4",
 
86
  "controlnet_txt2img": CustomStableDiffusionControlNetPipeline,
87
  "controlnet_img2img": CustomStableDiffusionControlNetImg2ImgPipeline,
88
  },
89
+ MODEL="XpucT/Reliberate",
90
  MODELS=[
91
  "cyberdelia/CyberRealistic",
92
  "fluently/Fluently-v4",
lib/pipelines.py CHANGED
@@ -25,7 +25,7 @@ from huggingface_hub.utils import validate_hf_hub_args
25
 
26
  class CustomDiffusionMixin:
27
  r"""
28
- Overrides DiffusionPipeline methods.
29
  """
30
 
31
  # Copied from https://github.com/huggingface/diffusers/blob/v0.30.3/src/diffusers/pipelines/pipeline_utils.py#L480
 
25
 
26
  class CustomDiffusionMixin:
27
  r"""
28
+ Overrides DiffusionPipeline `from_pretrained` and `from_single_file` methods to allow passing a progress function.
29
  """
30
 
31
  # Copied from https://github.com/huggingface/diffusers/blob/v0.30.3/src/diffusers/pipelines/pipeline_utils.py#L480
requirements.txt CHANGED
@@ -4,7 +4,7 @@ controlnet-aux==0.0.9
4
  deepcache==0.1.1
5
  diffusers==0.30.3
6
  einops==0.8.0
7
- gradio==4.44.0
8
  h2
9
  hf-transfer
10
  httpx
 
4
  deepcache==0.1.1
5
  diffusers==0.30.3
6
  einops==0.8.0
7
+ gradio==4.44.1
8
  h2
9
  hf-transfer
10
  httpx