Skip to content

Commit

Permalink
fix forgotten setting init
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadangdut33 committed Nov 14, 2023
1 parent ca5da3b commit d331190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions speech_translate/ui/frame/setting/transcribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def __init__(self, root: Toplevel, master_frame: Union[ttk.Frame, Frame]):
self.lbl_suppress_tokens.pack(side="left", padx=5)
self.entry_supress_tokens = ttk.Entry(self.f_whisper_args_1, width=30)
self.entry_supress_tokens.pack(side="left", padx=5, fill="x")
self.entry_supress_tokens.insert(0, sj.cache["suppress_tokens"])
self.entry_supress_tokens.bind(
"<KeyRelease>", lambda e: sj.save_key("suppress_tokens", self.entry_supress_tokens.get())
)
Expand Down

0 comments on commit d331190

Please sign in to comment.