Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofinch committed Jan 14, 2025
1 parent 6c600be commit 9bd73d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdf2zh/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def setup_gui(
"Error launching GUI using 127.0.0.1.\nThis may be caused by global mode of proxy software."
)
demo.launch(
debug=True, inbrowser=True, share=True, server_port=server_port
debug=True, inbrowser=True, share=share, server_port=server_port
)
else:
try:
Expand Down Expand Up @@ -682,7 +682,7 @@ def setup_gui(
demo.launch(
debug=True,
inbrowser=True,
share=True,
share=share,
auth=user_list,
auth_message=html,
server_port=server_port,
Expand Down

0 comments on commit 9bd73d4

Please sign in to comment.