Adapter yanze commited on
Commit
308f037
β€’
1 Parent(s): 9a91347

Update app.py (#3)

Browse files

- Update app.py (9499b1b049883430521fb490a815ae846c37fd1d)


Co-authored-by: Yanze Wu <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ with gr.Blocks(title="CoAdapter", css=".gr-box {border-color: #8136e2}") as demo
231
  prompt = gr.Textbox(label="Prompt")
232
  neg_prompt = gr.Textbox(label="Negative Prompt", value=DEFAULT_NEGATIVE_PROMPT)
233
  scale = gr.Slider(label="Guidance Scale (Classifier free guidance)", value=7.5, minimum=1, maximum=20, step=0.1)
234
- n_samples = gr.Slider(label="Num samples", value=1, minimum=1, maximum=8, step=1)
235
  seed = gr.Slider(label="Seed", value=42, minimum=0, maximum=10000, step=1)
236
  steps = gr.Slider(label="Steps", value=50, minimum=10, maximum=100, step=1)
237
  resize_short_edge = gr.Slider(label="Image resolution", value=512, minimum=320, maximum=1024, step=1)
 
231
  prompt = gr.Textbox(label="Prompt")
232
  neg_prompt = gr.Textbox(label="Negative Prompt", value=DEFAULT_NEGATIVE_PROMPT)
233
  scale = gr.Slider(label="Guidance Scale (Classifier free guidance)", value=7.5, minimum=1, maximum=20, step=0.1)
234
+ n_samples = gr.Slider(label="Num samples", value=1, minimum=1, maximum=1, step=1)
235
  seed = gr.Slider(label="Seed", value=42, minimum=0, maximum=10000, step=1)
236
  steps = gr.Slider(label="Steps", value=50, minimum=10, maximum=100, step=1)
237
  resize_short_edge = gr.Slider(label="Image resolution", value=512, minimum=320, maximum=1024, step=1)