Skip to content

Commit

Permalink
Merge branch 'main' into dev-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
reycn committed Dec 19, 2024
2 parents 50ac875 + 2592343 commit e71ef5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf2zh/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def progress_bar(t: tqdm.tqdm):
"lang_out": lang_to,
"service": f"{translator.name}",
"output": output,
"thread": int(threads) if threads else 1,
"thread": int(threads),
"callback": progress_bar,
"cancellation_event": cancellation_event_map[session_id],
"envs": _envs,
Expand Down

0 comments on commit e71ef5f

Please sign in to comment.