Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -469,10 +469,10 @@ with block:
|
|
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')
|
|
|
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')
|