Stephen commited on
Commit
2e9ba49
·
1 Parent(s): b77025c
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -469,7 +469,10 @@ with block:
469
 
470
  bg_gallery.select(bg_gallery_selected, inputs=bg_gallery, outputs=input_bg)
471
 
472
- gr.Interface(fn, inputs=ips, outputs=[result_gallery], api_name="fn")
 
 
 
473
 
474
 
475
  block.launch(server_name='0.0.0.0')
 
469
 
470
  bg_gallery.select(bg_gallery_selected, inputs=bg_gallery, outputs=input_bg)
471
 
472
+ fg = gr.Textbox(label="Paste an image URL")
473
+ bg = gr.Textbox(label="Paste an image URL")
474
+ ips2 = [fg, bg, prompt, image_width, image_height, num_samples, seed, steps, a_prompt, n_prompt, cfg, highres_scale, highres_denoise, bg_source]
475
+ gr.Interface(fn, inputs=ips2, outputs=[result_gallery], api_name="fn")
476
 
477
 
478
  block.launch(server_name='0.0.0.0')