animrods commited on
Commit
44a703f
·
verified ·
1 Parent(s): 7d64c5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -42,8 +42,8 @@ def predict(prompt, ip_adapter_image, ip_adapter_scale=0.5, negative_prompt="",
42
  return image, seed
43
 
44
  examples = [
45
- ["high quality", "example1.png", 1.0, 1152, 896],
46
- ["capybara", "example2.png", 0.7, 1152, 896],
47
  ]
48
 
49
  css="""
@@ -154,7 +154,7 @@ with gr.Blocks(css=css) as demo:
154
  gr.Examples(
155
  examples=examples,
156
  fn=predict,
157
- inputs=[prompt, ip_adapter_image, ip_adapter_scale, width, height],
158
  outputs=[result, seed],
159
  cache_examples="lazy"
160
  )
 
42
  return image, seed
43
 
44
  examples = [
45
+ ["high quality", "example1.png", 1.0, 1152, 896, 1000, False],
46
+ ["capybara", "example2.png", 0.7, 1152, 896, 1000, False],
47
  ]
48
 
49
  css="""
 
154
  gr.Examples(
155
  examples=examples,
156
  fn=predict,
157
+ inputs=[prompt, ip_adapter_image, ip_adapter_scale, width, height, seed, randomize_seed],
158
  outputs=[result, seed],
159
  cache_examples="lazy"
160
  )