animrods commited on
Commit
b0ef0b8
1 Parent(s): ddc7c4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -27
app.py CHANGED
@@ -118,36 +118,36 @@ with gr.Blocks(css=css) as demo:
118
  )
119
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
120
  center_crop = gr.Checkbox(label="Center Crop image", value=False, info="If not checked, the IP-Adapter image input would be resized to a square.")
121
- with gr.Row():
122
- width = gr.Slider(
123
- label="Width",
124
- minimum=256,
125
- maximum=2048,
126
- step=32,
127
- value=1024,
128
- )
129
- height = gr.Slider(
130
- label="Height",
131
- minimum=256,
132
- maximum=2048,
133
- step=32,
134
- value=1024,
135
- )
136
  # with gr.Row():
137
- # guidance_scale = gr.Slider(
138
- # label="Guidance scale",
139
- # minimum=0.0,
140
- # maximum=10.0,
141
- # step=0.1,
142
- # value=7.0,
143
  # )
144
- # num_inference_steps = gr.Slider(
145
- # label="Number of inference steps",
146
- # minimum=1,
147
- # maximum=100,
148
- # step=1,
149
- # value=25,
150
  # )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
 
152
 
153
  gr.Examples(
 
118
  )
119
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
120
  center_crop = gr.Checkbox(label="Center Crop image", value=False, info="If not checked, the IP-Adapter image input would be resized to a square.")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  # with gr.Row():
122
+ # width = gr.Slider(
123
+ # label="Width",
124
+ # minimum=256,
125
+ # maximum=2048,
126
+ # step=32,
127
+ # value=1024,
128
  # )
129
+ # height = gr.Slider(
130
+ # label="Height",
131
+ # minimum=256,
132
+ # maximum=2048,
133
+ # step=32,
134
+ # value=1024,
135
  # )
136
+ with gr.Row():
137
+ guidance_scale = gr.Slider(
138
+ label="Guidance scale",
139
+ minimum=0.0,
140
+ maximum=10.0,
141
+ step=0.1,
142
+ value=7.0,
143
+ )
144
+ num_inference_steps = gr.Slider(
145
+ label="Number of inference steps",
146
+ minimum=1,
147
+ maximum=100,
148
+ step=1,
149
+ value=25,
150
+ )
151
 
152
 
153
  gr.Examples(