Chore: just move comma
This commit is contained in:
8
VRCT.py
8
VRCT.py
@@ -264,7 +264,7 @@ class App(CTk):
|
|||||||
command=self.checkbox_translation_callback,
|
command=self.checkbox_translation_callback,
|
||||||
font=CTkFont(family=self.FONT_FAMILY)
|
font=CTkFont(family=self.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.checkbox_translation.grid(row=0, column=0, columnspan=2 ,padx=10, pady=(5, 5), sticky="we")
|
self.checkbox_translation.grid(row=0, column=0, columnspan=2, padx=10, pady=(5, 5), sticky="we")
|
||||||
|
|
||||||
# add checkbox transcription send
|
# add checkbox transcription send
|
||||||
self.checkbox_transcription_send = CTkCheckBox(
|
self.checkbox_transcription_send = CTkCheckBox(
|
||||||
@@ -275,7 +275,7 @@ class App(CTk):
|
|||||||
command=self.checkbox_transcription_send_callback,
|
command=self.checkbox_transcription_send_callback,
|
||||||
font=CTkFont(family=self.FONT_FAMILY)
|
font=CTkFont(family=self.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.checkbox_transcription_send.grid(row=1, column=0, columnspan=2 ,padx=10, pady=(5, 5), sticky="we")
|
self.checkbox_transcription_send.grid(row=1, column=0, columnspan=2, padx=10, pady=(5, 5), sticky="we")
|
||||||
|
|
||||||
# add checkbox transcription receive
|
# add checkbox transcription receive
|
||||||
self.checkbox_transcription_receive = CTkCheckBox(
|
self.checkbox_transcription_receive = CTkCheckBox(
|
||||||
@@ -286,7 +286,7 @@ class App(CTk):
|
|||||||
command=self.checkbox_transcription_receive_callback,
|
command=self.checkbox_transcription_receive_callback,
|
||||||
font=CTkFont(family=self.FONT_FAMILY)
|
font=CTkFont(family=self.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.checkbox_transcription_receive.grid(row=2, column=0, columnspan=2 ,padx=10, pady=(5, 5), sticky="we")
|
self.checkbox_transcription_receive.grid(row=2, column=0, columnspan=2, padx=10, pady=(5, 5), sticky="we")
|
||||||
|
|
||||||
# add checkbox foreground
|
# add checkbox foreground
|
||||||
self.checkbox_foreground = CTkCheckBox(
|
self.checkbox_foreground = CTkCheckBox(
|
||||||
@@ -297,7 +297,7 @@ class App(CTk):
|
|||||||
command=self.checkbox_foreground_callback,
|
command=self.checkbox_foreground_callback,
|
||||||
font=CTkFont(family=self.FONT_FAMILY)
|
font=CTkFont(family=self.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.checkbox_foreground.grid(row=3, column=0, columnspan=2 ,padx=10, pady=(5, 5), sticky="we")
|
self.checkbox_foreground.grid(row=3, column=0, columnspan=2, padx=10, pady=(5, 5), sticky="we")
|
||||||
|
|
||||||
# add button information
|
# add button information
|
||||||
self.button_information = CTkButton(
|
self.button_information = CTkButton(
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
variable=StringVar(value=self.parent.CHOICE_TRANSLATOR),
|
variable=StringVar(value=self.parent.CHOICE_TRANSLATOR),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY),
|
font=CTkFont(family=self.parent.FONT_FAMILY),
|
||||||
)
|
)
|
||||||
self.optionmenu_translation_translator.grid(row=row, column=1, columnspan=3 ,padx=padx, pady=pady, sticky="nsew")
|
self.optionmenu_translation_translator.grid(row=row, column=1, columnspan=3, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.optionmenu_translation_translator._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
self.optionmenu_translation_translator._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
||||||
|
|
||||||
## optionmenu translation input language
|
## optionmenu translation input language
|
||||||
@@ -252,7 +252,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
variable=StringVar(value=self.parent.CHOICE_MIC_HOST),
|
variable=StringVar(value=self.parent.CHOICE_MIC_HOST),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY),
|
font=CTkFont(family=self.parent.FONT_FAMILY),
|
||||||
)
|
)
|
||||||
self.optionmenu_input_mic_host.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.optionmenu_input_mic_host.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.optionmenu_input_mic_host._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
self.optionmenu_input_mic_host._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
||||||
|
|
||||||
row += 1
|
row += 1
|
||||||
@@ -270,7 +270,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
variable=StringVar(value=self.parent.CHOICE_MIC_DEVICE),
|
variable=StringVar(value=self.parent.CHOICE_MIC_DEVICE),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY),
|
font=CTkFont(family=self.parent.FONT_FAMILY),
|
||||||
)
|
)
|
||||||
self.optionmenu_input_mic_device.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.optionmenu_input_mic_device.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.optionmenu_input_mic_device._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
self.optionmenu_input_mic_device._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
||||||
|
|
||||||
## optionmenu input mic voice language
|
## optionmenu input mic voice language
|
||||||
@@ -289,7 +289,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
variable=StringVar(value=self.parent.INPUT_MIC_VOICE_LANGUAGE),
|
variable=StringVar(value=self.parent.INPUT_MIC_VOICE_LANGUAGE),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY),
|
font=CTkFont(family=self.parent.FONT_FAMILY),
|
||||||
)
|
)
|
||||||
self.optionmenu_input_mic_voice_language.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.optionmenu_input_mic_voice_language.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.optionmenu_input_mic_voice_language._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
self.optionmenu_input_mic_voice_language._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
||||||
|
|
||||||
## slider input mic energy threshold
|
## slider input mic energy threshold
|
||||||
@@ -325,7 +325,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
command=self.checkbox_input_mic_threshold_check_callback,
|
command=self.checkbox_input_mic_threshold_check_callback,
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.checkbox_input_mic_threshold_check.grid(row=row, column=0, columnspan=1 ,padx=padx, pady=pady, sticky="nsw")
|
self.checkbox_input_mic_threshold_check.grid(row=row, column=0, columnspan=1, padx=padx, pady=pady, sticky="nsw")
|
||||||
|
|
||||||
self.progressBar_input_mic_energy_threshold = CTkProgressBar(
|
self.progressBar_input_mic_energy_threshold = CTkProgressBar(
|
||||||
self.tabview_config.tab("Transcription"),
|
self.tabview_config.tab("Transcription"),
|
||||||
@@ -351,7 +351,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
command=self.checkbox_input_mic_dynamic_energy_threshold_callback,
|
command=self.checkbox_input_mic_dynamic_energy_threshold_callback,
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.checkbox_input_mic_dynamic_energy_threshold.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.checkbox_input_mic_dynamic_energy_threshold.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
if self.parent.INPUT_MIC_DYNAMIC_ENERGY_THRESHOLD is True:
|
if self.parent.INPUT_MIC_DYNAMIC_ENERGY_THRESHOLD is True:
|
||||||
self.checkbox_input_mic_dynamic_energy_threshold.select()
|
self.checkbox_input_mic_dynamic_energy_threshold.select()
|
||||||
else:
|
else:
|
||||||
@@ -371,7 +371,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
textvariable=StringVar(value=self.parent.INPUT_MIC_RECORD_TIMEOUT),
|
textvariable=StringVar(value=self.parent.INPUT_MIC_RECORD_TIMEOUT),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.entry_input_mic_record_timeout.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.entry_input_mic_record_timeout.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.entry_input_mic_record_timeout.bind("<Any-KeyRelease>", self.entry_input_mic_record_timeout_callback)
|
self.entry_input_mic_record_timeout.bind("<Any-KeyRelease>", self.entry_input_mic_record_timeout_callback)
|
||||||
|
|
||||||
## entry input mic phrase timeout
|
## entry input mic phrase timeout
|
||||||
@@ -388,7 +388,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
textvariable=StringVar(value=self.parent.INPUT_MIC_PHRASE_TIMEOUT),
|
textvariable=StringVar(value=self.parent.INPUT_MIC_PHRASE_TIMEOUT),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.entry_input_mic_phrase_timeout.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.entry_input_mic_phrase_timeout.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.entry_input_mic_phrase_timeout.bind("<Any-KeyRelease>", self.entry_input_mic_phrase_timeout_callback)
|
self.entry_input_mic_phrase_timeout.bind("<Any-KeyRelease>", self.entry_input_mic_phrase_timeout_callback)
|
||||||
|
|
||||||
## entry input mic max phrases
|
## entry input mic max phrases
|
||||||
@@ -405,7 +405,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
textvariable=StringVar(value=self.parent.INPUT_MIC_MAX_PHRASES),
|
textvariable=StringVar(value=self.parent.INPUT_MIC_MAX_PHRASES),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.entry_input_mic_max_phrases.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.entry_input_mic_max_phrases.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.entry_input_mic_max_phrases.bind("<Any-KeyRelease>", self.entry_input_mic_max_phrases_callback)
|
self.entry_input_mic_max_phrases.bind("<Any-KeyRelease>", self.entry_input_mic_max_phrases_callback)
|
||||||
|
|
||||||
## entry input mic word filter
|
## entry input mic word filter
|
||||||
@@ -422,7 +422,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
textvariable=StringVar(value=",".join(self.parent.INPUT_MIC_WORD_FILTER)),
|
textvariable=StringVar(value=",".join(self.parent.INPUT_MIC_WORD_FILTER)),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.entry_input_mic_word_filter.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.entry_input_mic_word_filter.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.entry_input_mic_word_filter.bind("<Any-KeyRelease>", self.entry_input_mic_word_filters_callback)
|
self.entry_input_mic_word_filter.bind("<Any-KeyRelease>", self.entry_input_mic_word_filters_callback)
|
||||||
|
|
||||||
## optionmenu input speaker device
|
## optionmenu input speaker device
|
||||||
@@ -441,7 +441,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
variable=StringVar(value=self.parent.CHOICE_SPEAKER_DEVICE),
|
variable=StringVar(value=self.parent.CHOICE_SPEAKER_DEVICE),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY),
|
font=CTkFont(family=self.parent.FONT_FAMILY),
|
||||||
)
|
)
|
||||||
self.optionmenu_input_speaker_device.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.optionmenu_input_speaker_device.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.optionmenu_input_speaker_device._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
self.optionmenu_input_speaker_device._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
||||||
|
|
||||||
## optionmenu input speaker voice language
|
## optionmenu input speaker voice language
|
||||||
@@ -460,7 +460,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
variable=StringVar(value=self.parent.INPUT_SPEAKER_VOICE_LANGUAGE),
|
variable=StringVar(value=self.parent.INPUT_SPEAKER_VOICE_LANGUAGE),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY),
|
font=CTkFont(family=self.parent.FONT_FAMILY),
|
||||||
)
|
)
|
||||||
self.optionmenu_input_speaker_voice_language.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.optionmenu_input_speaker_voice_language.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.optionmenu_input_speaker_voice_language._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
self.optionmenu_input_speaker_voice_language._dropdown_menu.configure(font=CTkFont(family=self.parent.FONT_FAMILY))
|
||||||
|
|
||||||
## entry input speaker energy threshold
|
## entry input speaker energy threshold
|
||||||
@@ -497,7 +497,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
command=self.checkbox_input_speaker_threshold_check_callback,
|
command=self.checkbox_input_speaker_threshold_check_callback,
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.checkbox_input_speaker_threshold_check.grid(row=row, column=0, columnspan=1 ,padx=padx, pady=pady, sticky="nsw")
|
self.checkbox_input_speaker_threshold_check.grid(row=row, column=0, columnspan=1, padx=padx, pady=pady, sticky="nsw")
|
||||||
|
|
||||||
self.progressBar_input_speaker_energy_threshold = CTkProgressBar(
|
self.progressBar_input_speaker_energy_threshold = CTkProgressBar(
|
||||||
self.tabview_config.tab("Transcription"),
|
self.tabview_config.tab("Transcription"),
|
||||||
@@ -523,7 +523,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
command=self.checkbox_input_speaker_dynamic_energy_threshold_callback,
|
command=self.checkbox_input_speaker_dynamic_energy_threshold_callback,
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.checkbox_input_speaker_dynamic_energy_threshold.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.checkbox_input_speaker_dynamic_energy_threshold.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
if self.parent.INPUT_SPEAKER_DYNAMIC_ENERGY_THRESHOLD is True:
|
if self.parent.INPUT_SPEAKER_DYNAMIC_ENERGY_THRESHOLD is True:
|
||||||
self.checkbox_input_speaker_dynamic_energy_threshold.select()
|
self.checkbox_input_speaker_dynamic_energy_threshold.select()
|
||||||
else:
|
else:
|
||||||
@@ -543,7 +543,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
textvariable=StringVar(value=self.parent.INPUT_SPEAKER_RECORD_TIMEOUT),
|
textvariable=StringVar(value=self.parent.INPUT_SPEAKER_RECORD_TIMEOUT),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.entry_input_speaker_record_timeout.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.entry_input_speaker_record_timeout.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.entry_input_speaker_record_timeout.bind("<Any-KeyRelease>", self.entry_input_speaker_record_timeout_callback)
|
self.entry_input_speaker_record_timeout.bind("<Any-KeyRelease>", self.entry_input_speaker_record_timeout_callback)
|
||||||
|
|
||||||
## entry input speaker phrase timeout
|
## entry input speaker phrase timeout
|
||||||
@@ -560,7 +560,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
textvariable=StringVar(value=self.parent.INPUT_SPEAKER_PHRASE_TIMEOUT),
|
textvariable=StringVar(value=self.parent.INPUT_SPEAKER_PHRASE_TIMEOUT),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.entry_input_speaker_phrase_timeout.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.entry_input_speaker_phrase_timeout.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.entry_input_speaker_phrase_timeout.bind("<Any-KeyRelease>", self.entry_input_speaker_phrase_timeout_callback)
|
self.entry_input_speaker_phrase_timeout.bind("<Any-KeyRelease>", self.entry_input_speaker_phrase_timeout_callback)
|
||||||
|
|
||||||
## entry input speaker max phrases
|
## entry input speaker max phrases
|
||||||
@@ -577,7 +577,7 @@ class ToplevelWindowConfig(CTkToplevel):
|
|||||||
textvariable=StringVar(value=self.parent.INPUT_SPEAKER_MAX_PHRASES),
|
textvariable=StringVar(value=self.parent.INPUT_SPEAKER_MAX_PHRASES),
|
||||||
font=CTkFont(family=self.parent.FONT_FAMILY)
|
font=CTkFont(family=self.parent.FONT_FAMILY)
|
||||||
)
|
)
|
||||||
self.entry_input_speaker_max_phrases.grid(row=row, column=1, columnspan=1 ,padx=padx, pady=pady, sticky="nsew")
|
self.entry_input_speaker_max_phrases.grid(row=row, column=1, columnspan=1, padx=padx, pady=pady, sticky="nsew")
|
||||||
self.entry_input_speaker_max_phrases.bind("<Any-KeyRelease>", self.entry_input_speaker_max_phrases_callback)
|
self.entry_input_speaker_max_phrases.bind("<Any-KeyRelease>", self.entry_input_speaker_max_phrases_callback)
|
||||||
|
|
||||||
# tab Parameter
|
# tab Parameter
|
||||||
|
|||||||
Reference in New Issue
Block a user