alfredplpl commited on
Commit
a3c7875
1 Parent(s): 235d6cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -62,8 +62,8 @@ def inference(prompt, guidance, steps, seed=0, neg_prompt="", disable_auto_promp
62
 
63
  prompt,neg_prompt=auto_prompt_correction(prompt,neg_prompt,disable_auto_prompt_correction)
64
 
65
- height=512
66
- width=512
67
 
68
  print(prompt,neg_prompt)
69
 
@@ -170,7 +170,7 @@ with gr.Blocks(css=css) as demo:
170
  disable_auto_prompt_correction = gr.Checkbox(label="Disable auto prompt corretion.")
171
 
172
  with gr.Row():
173
- guidance = gr.Slider(label="Guidance scale", value=1.5, maximum=10, step=0.1)
174
  steps = gr.Slider(label="Steps", value=4, minimum=1, maximum=20, step=1)
175
 
176
  seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
 
62
 
63
  prompt,neg_prompt=auto_prompt_correction(prompt,neg_prompt,disable_auto_prompt_correction)
64
 
65
+ height=768
66
+ width=768
67
 
68
  print(prompt,neg_prompt)
69
 
 
170
  disable_auto_prompt_correction = gr.Checkbox(label="Disable auto prompt corretion.")
171
 
172
  with gr.Row():
173
+ guidance = gr.Slider(label="Guidance scale", value=1, maximum=10, step=0.1)
174
  steps = gr.Slider(label="Steps", value=4, minimum=1, maximum=20, step=1)
175
 
176
  seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)