valhalla commited on
Commit
6759e22
1 Parent(s): 4697406

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def run(
46
  negative_prompt: str,
47
  num_steps=25,
48
  guidance_scale=7.5,
49
- adapter_conditioning_scale=0.8
50
  seed=0,
51
  ) -> PIL.Image.Image:
52
  image = image.convert("RGB").resize((1024, 1024))
@@ -100,6 +100,13 @@ with gr.Blocks() as demo:
100
  step=0.1,
101
  value=7.5,
102
  )
 
 
 
 
 
 
 
103
  seed = gr.Slider(
104
  label="Seed",
105
  minimum=0,
@@ -117,6 +124,7 @@ with gr.Blocks() as demo:
117
  negative_prompt,
118
  num_steps,
119
  guidance_scale,
 
120
  seed,
121
  ]
122
  prompt.submit(
 
46
  negative_prompt: str,
47
  num_steps=25,
48
  guidance_scale=7.5,
49
+ adapter_conditioning_scale=0.8,
50
  seed=0,
51
  ) -> PIL.Image.Image:
52
  image = image.convert("RGB").resize((1024, 1024))
 
100
  step=0.1,
101
  value=7.5,
102
  )
103
+ adapter_conditioning_scale = gr.Slider(
104
+ label="Adapter Conditioning Ccale",
105
+ minimum=0.5,
106
+ maximum=1,
107
+ step=0.1,
108
+ value=.85,
109
+ )
110
  seed = gr.Slider(
111
  label="Seed",
112
  minimum=0,
 
124
  negative_prompt,
125
  num_steps,
126
  guidance_scale,
127
+ adapter_conditioning_scale,
128
  seed,
129
  ]
130
  prompt.submit(