hysts HF staff commited on
Commit
c628a76
1 Parent(s): 1878ed0
Files changed (2) hide show
  1. app.py +1 -1
  2. model.py +3 -3
app.py CHANGED
@@ -58,7 +58,7 @@ with gr.Blocks(css="style.css") as demo:
58
  minimum=0.1,
59
  maximum=30.0,
60
  step=0.1,
61
- value=5,
62
  )
63
  adapter_conditioning_scale = gr.Slider(
64
  label="Adapter Conditioning Scale",
 
58
  minimum=0.1,
59
  maximum=30.0,
60
  step=0.1,
61
+ value=5.0,
62
  )
63
  adapter_conditioning_scale = gr.Slider(
64
  label="Adapter Conditioning Scale",
model.py CHANGED
@@ -162,9 +162,9 @@ class Model:
162
  prompt: str,
163
  negative_prompt: str,
164
  num_inference_steps: int = 30,
165
- guidance_scale: float = 7.5,
166
- adapter_conditioning_scale: float = 0.8,
167
- cond_tau: float = 0.8,
168
  seed: int = 0,
169
  apply_preprocess: bool = True,
170
  ) -> list[PIL.Image.Image]:
 
162
  prompt: str,
163
  negative_prompt: str,
164
  num_inference_steps: int = 30,
165
+ guidance_scale: float = 5.0,
166
+ adapter_conditioning_scale: float = 1.0,
167
+ cond_tau: float = 1.0,
168
  seed: int = 0,
169
  apply_preprocess: bool = True,
170
  ) -> list[PIL.Image.Image]: