RamAnanth1 commited on
Commit
e82f9dc
1 Parent(s): 60dce9e

Modify eta UI to make it a slider

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -178,7 +178,7 @@ with block:
178
  ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=100, value=20, step=1)
179
  scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=9.0, step=0.1)
180
  seed = gr.Slider(label="Seed", minimum=0, maximum=2147483647, step=1, randomize=True)
181
- eta = gr.Number(label="eta (DDIM)", value=0.0)
182
  a_prompt = gr.Textbox(label="Added Prompt", value='best quality, extremely detailed')
183
  n_prompt = gr.Textbox(label="Negative Prompt",
184
  value='longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality')
 
178
  ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=100, value=20, step=1)
179
  scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=9.0, step=0.1)
180
  seed = gr.Slider(label="Seed", minimum=0, maximum=2147483647, step=1, randomize=True)
181
+ eta = gr.Slider(label="eta (DDIM)", minimum=0.0,maximum =1.0, value=0.0, step=0.1)
182
  a_prompt = gr.Textbox(label="Added Prompt", value='best quality, extremely detailed')
183
  n_prompt = gr.Textbox(label="Negative Prompt",
184
  value='longbody, lowres, bad anatomy, bad hands, missing fingers, pubic hair,extra digit, fewer digits, cropped, worst quality, low quality')