radames commited on
Commit
815ca81
1 Parent(s): 264f089

no guidance

Browse files
Files changed (1) hide show
  1. pipelines/img2imgSD21Turbo.py +1 -11
pipelines/img2imgSD21Turbo.py CHANGED
@@ -80,16 +80,6 @@ class Pipeline:
80
  height: int = Field(
81
  512, min=2, max=15, title="Height", disabled=True, hide=True, id="height"
82
  )
83
- guidance_scale: float = Field(
84
- 0.0,
85
- min=0,
86
- max=1,
87
- step=0.001,
88
- title="Guidance Scale",
89
- field="range",
90
- hide=True,
91
- id="guidance_scale",
92
- )
93
  strength: float = Field(
94
  0.5,
95
  min=0.25,
@@ -168,7 +158,7 @@ class Pipeline:
168
  generator=generator,
169
  strength=strength,
170
  num_inference_steps=steps,
171
- guidance_scale=params.guidance_scale,
172
  width=params.width,
173
  height=params.height,
174
  output_type="pil",
 
80
  height: int = Field(
81
  512, min=2, max=15, title="Height", disabled=True, hide=True, id="height"
82
  )
 
 
 
 
 
 
 
 
 
 
83
  strength: float = Field(
84
  0.5,
85
  min=0.25,
 
158
  generator=generator,
159
  strength=strength,
160
  num_inference_steps=steps,
161
+ guidance_scale=1.0,
162
  width=params.width,
163
  height=params.height,
164
  output_type="pil",