Skip to content

Commit

Permalink
fix tkinter window (#1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
monorimet authored Aug 15, 2023
1 parent 343dfd9 commit 9dee7ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/stable_diffusion/web/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,11 +424,11 @@ def register_outputgallery_button(button, selectedid, inputs, outputs):
)

sd_web.queue()
# if args.ui == "app":
# t = Process(
# target=launch_app, args=[f"http://localhost:{args.server_port}"]
# )
# t.start()
if args.ui == "app":
t = Process(
target=launch_app, args=[f"http://localhost:{args.server_port}"]
)
t.start()
sd_web.launch(
share=args.share,
inbrowser=args.ui == "web",
Expand Down

0 comments on commit 9dee7ae

Please sign in to comment.