承弱 commited on
Commit
cccc783
1 Parent(s): 6c18e26
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -264,4 +264,4 @@ with block:
264
  ips = [prompt, texts, texts2, layout_radio, sort_radio, revise_pos, base_model_path, lora_path_ratio, show_debug,img_count, ddim_steps, image_width, image_height, strength, cfg_scale, seed, eta, a_prompt, n_prompt]
265
  run_gen.click(fn=process, inputs=[gr.State('gen')] + ips, outputs=[result_gallery])
266
 
267
- block.launch(server_name='0.0.0.0',share=False, server_port=7687)
 
264
  ips = [prompt, texts, texts2, layout_radio, sort_radio, revise_pos, base_model_path, lora_path_ratio, show_debug,img_count, ddim_steps, image_width, image_height, strength, cfg_scale, seed, eta, a_prompt, n_prompt]
265
  run_gen.click(fn=process, inputs=[gr.State('gen')] + ips, outputs=[result_gallery])
266
 
267
+ block.launch(share=True)