fffiloni commited on
Commit
a11bb63
1 Parent(s): b6fbab7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -155,12 +155,12 @@ with gr.Blocks(css=css) as demo:
155
  input_image = gr.Image(type="pil", sources=["upload"])
156
  prompt_in = gr.Textbox(label="Prompt", value="Asian")
157
  with gr.Accordion(label="Advanced settings", open=False):
158
- added_prompt = gr.Textbox(label="Added Prompt", value='clean, high-resolution, 8k, best quality, masterpiece'),
159
- neg_promp = gr.Textbox(label="Negative Prompt",value='dotted, noise, blur, lowres, oversmooth, longbody, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality'),
160
- denoise_steps = gr.Slider(label="Denoise Steps", minimum=10, maximum=50, value=20, step=1),
161
- upsample_scale = gr.Slider(label="Upsample Scale", minimum=1, maximum=4, value=2, step=1),
162
- condition_scale = gr.Slider(label="Conditioning Scale", minimum=0.5, maximum=1.5, value=1.1, step=0.1),
163
- classifier_free_guidance = gr.Slider(label="Classier-free Guidance", minimum=0.1, maximum=10.0, value=7.5, step=0.1),
164
  seed = gr.Slider(label="Seed", minimum=-1, maximum=2147483647, step=1, randomize=True)]
165
  submit_btn = gr.Button("Submit")
166
  with gr.Column():
 
155
  input_image = gr.Image(type="pil", sources=["upload"])
156
  prompt_in = gr.Textbox(label="Prompt", value="Asian")
157
  with gr.Accordion(label="Advanced settings", open=False):
158
+ added_prompt = gr.Textbox(label="Added Prompt", value='clean, high-resolution, 8k, best quality, masterpiece')
159
+ neg_promp = gr.Textbox(label="Negative Prompt",value='dotted, noise, blur, lowres, oversmooth, longbody, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality')
160
+ denoise_steps = gr.Slider(label="Denoise Steps", minimum=10, maximum=50, value=20, step=1)
161
+ upsample_scale = gr.Slider(label="Upsample Scale", minimum=1, maximum=4, value=2, step=1)
162
+ condition_scale = gr.Slider(label="Conditioning Scale", minimum=0.5, maximum=1.5, value=1.1, step=0.1)
163
+ classifier_free_guidance = gr.Slider(label="Classier-free Guidance", minimum=0.1, maximum=10.0, value=7.5, step=0.1)
164
  seed = gr.Slider(label="Seed", minimum=-1, maximum=2147483647, step=1, randomize=True)]
165
  submit_btn = gr.Button("Submit")
166
  with gr.Column():