John6666 commited on
Commit
73427c4
·
verified ·
1 Parent(s): 8490feb

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -168,11 +168,11 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=css) as myface:
168
  with gr.Accordion("Advanced", open=False, visible=True):
169
  neg_input = gr.Textbox(label='Negative prompt:', lines=1)
170
  with gr.Row():
171
- width = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
172
- height = gr.Number(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
173
  with gr.Row():
174
- steps = gr.Number(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=0)
175
- cfg = gr.Number(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=0)
176
  seed = gr.Slider(label="Seed", info="Randomize Seed if -1.", minimum=-1, maximum=MAX_SEED, step=1, value=-1)
177
  #with gr.Column(scale=100):
178
  #negative_prompt=gr.Textbox(label="Negative Prompt", lines=1)
 
168
  with gr.Accordion("Advanced", open=False, visible=True):
169
  neg_input = gr.Textbox(label='Negative prompt:', lines=1)
170
  with gr.Row():
171
+ width = gr.Slider(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
172
+ height = gr.Slider(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
173
  with gr.Row():
174
+ steps = gr.Slider(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=0)
175
+ cfg = gr.Slider(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=0)
176
  seed = gr.Slider(label="Seed", info="Randomize Seed if -1.", minimum=-1, maximum=MAX_SEED, step=1, value=-1)
177
  #with gr.Column(scale=100):
178
  #negative_prompt=gr.Textbox(label="Negative Prompt", lines=1)