animrods commited on
Commit
c15eaca
·
verified ·
1 Parent(s): 709b448

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -72,8 +72,8 @@ def remove_back_to_files():
72
  return gr.update(visible=False), gr.update(visible=False), gr.update(visible=True)
73
 
74
  examples = [
75
- ["high quality", "example1.png", 1.0, "", 1000, False, False, 1152, 896, 5.0, 30, "Regular"],
76
- ["capybara", "example2.png", 0.7, "", 1000, False, False, 1152, 896, 5.0, 30, "Style-Only"],
77
  ]
78
 
79
  css="""
@@ -212,7 +212,7 @@ with gr.Blocks(css=css) as demo:
212
  gr.on(
213
  triggers=[run_button.click, prompt.submit],
214
  fn=predict,
215
- inputs=[prompt, files, ip_adapter_scale, negative_prompt, seed, randomize_seed, center_crop, width, height, guidance_scale, num_inference_steps, mode],
216
  outputs=[result, seed]
217
  )
218
 
 
72
  return gr.update(visible=False), gr.update(visible=False), gr.update(visible=True)
73
 
74
  examples = [
75
+ ["high quality", ["example1.png"], 1.0, "", 1000, False, False, 1152, 896, 5.0, 30, "Regular"],
76
+ ["capybara", ["example2.png"], 0.7, "", 1000, False, False, 1152, 896, 5.0, 30, "Style-Only"],
77
  ]
78
 
79
  css="""
 
212
  gr.on(
213
  triggers=[run_button.click, prompt.submit],
214
  fn=predict,
215
+ inputs=[prompt, upload_images, ip_adapter_scale, negative_prompt, seed, randomize_seed, center_crop, width, height, guidance_scale, num_inference_steps, mode],
216
  outputs=[result, seed]
217
  )
218