MCPcopy Create free account

hub / github.com/Dadangdut33/Speech-Translate / functions

Functions557 in github.com/Dadangdut33/Speech-Translate

Methodclear_log
(self)
speech_translate/ui/window/log.py:146
Functioncombine_json_files
(file1, file2, output_file)
test/audio/get_hallucinations.py:78
Methodconfirm_reset
(title, element, key, value)
speech_translate/ui/frame/setting/transcribe.py:636
Methodcuda_check
()
speech_translate/ui/window/main.py:297
Methoddecrease_opacity
Method to decrease the opacity of the window by 0.1.
speech_translate/ui/template/detached.py:321
Methoddelete_debug_audio_rec_on_start
(self)
speech_translate/ui/frame/setting/general.py:564
Methoddelete_log_on_start
(self)
speech_translate/ui/frame/setting/general.py:556
Methoddelete_selected
(self)
speech_translate/ui/custom/dialog.py:197
Methoddelete_temp_on_start
(self)
speech_translate/ui/frame/setting/general.py:560
Methoddisable_interactions
(self)
speech_translate/ui/custom/dialog.py:228
Methoddisable_rec
(self)
speech_translate/linker.py:118
Methoddo_process
(m_key, tl_engine, source, target, tc, tl, files)
speech_translate/ui/window/main.py:1753
Functiondownload_model
Download a model from the official model repository Parameters ---------- model_key : str one of the official model keys down
speech_translate/utils/whisper/download.py:13
Methodenable_interactions
(self)
speech_translate/ui/custom/dialog.py:236
Methodenable_rec
(self)
speech_translate/linker.py:115
Methodenter
(self, _event=None)
speech_translate/ui/custom/tooltip.py:56
Methodenter
(self, _event=None)
speech_translate/ui/custom/tooltip.py:170
Methodexit_app
(self)
speech_translate/ui/window/main.py:218
Methodexport_result
(self)
speech_translate/ui/window/main.py:1453
Methodfailed_func
()
speech_translate/ui/frame/setting/general.py:590
Methodfirst_open
()
speech_translate/ui/window/main.py:692
Methodflush
(self)
speech_translate/_logging.py:64
Methodget_setting
Get setting value
speech_translate/utils/setting.py:416
Functiongoogle_tl
Translate Using Google Translate Args ---- text (List[str]): Text to translate from_lang (str): Language From to_lang
speech_translate/utils/translate/translator.py:73
Methodhidetip
(self)
speech_translate/ui/custom/tooltip.py:235
Methodimport_file
(self)
speech_translate/ui/window/main.py:1740
Methodincrease_opacity
Method to increase the opacity of the window by 0.1.
speech_translate/ui/template/detached.py:311
Methodinsert_to_mw
(self, text: str, mode: Literal["tc", "tl"], separator: str)
speech_translate/linker.py:139
Methodkeep_one_disabled
(value: bool, other_widget: ttk.Checkbutton)
speech_translate/ui/frame/setting/textbox.py:265
Methodkeep_one_enabled
(value: bool, other_widget: ttk.Checkbutton)
speech_translate/ui/frame/setting/export.py:72
Methodlang_change
(value)
speech_translate/ui/custom/dialog.py:669
Methodleave
(self, _event=None)
speech_translate/ui/custom/tooltip.py:59
Methodleave
(self, _event=None)
speech_translate/ui/custom/tooltip.py:174
Functionlibre_tl
Translate Using LibreTranslate Args ---- text (List[str]): Text to translate from_lang (str): Language From to_lang (
speech_translate/utils/translate/translator.py:211
Methodload_silero_in_thread
()
speech_translate/ui/frame/setting/record.py:57
Methodlog_level_change
(self, _event=None)
speech_translate/ui/frame/setting/general.py:922
Methodlonger_w
()
speech_translate/ui/custom/dialog.py:330
Methodmake_focus
(self, _event)
speech_translate/ui/custom/tooltip.py:232
Methodmake_open_text
(self, texts: str)
speech_translate/ui/frame/setting/export.py:524
Functionmax_number
(root, el, v_min, v_max, cb_func=None, delay=300, allow_empty=False)
speech_translate/ui/custom/spinbox.py:42
Functionmax_number_float
(root, el, v_min, v_max, cb_func=None, delay=300, allow_empty=False)
speech_translate/ui/custom/spinbox.py:46
Functionmemory_tl
Translate Using MyMemoryTranslator Args ---- text (List[str]): Text to translate from_lang (str): Language From to_la
speech_translate/utils/translate/translator.py:142
Functionmod_result
Function to modify the result of whisper process. To modify these results we use the refine or align function from stable whisper. The ui is
speech_translate/utils/audio/file.py:950
Methodon_close
(self)
speech_translate/ui/window/setting.py:101
Methodon_close
(self)
speech_translate/ui/window/main.py:817
Methodon_close
(self)
speech_translate/ui/custom/dialog.py:219
Methodon_close
(self)
speech_translate/ui/custom/message.py:63
Methodon_closing
(self)
speech_translate/ui/window/log.py:109
Methodon_closing
(self)
speech_translate/ui/window/about.py:131
Methodon_closing
(self)
speech_translate/ui/template/detached.py:307
Methodon_key_release
(self, _event)
speech_translate/ui/custom/combobox.py:109
Methodon_motion
(self, event)
speech_translate/ui/custom/label.py:58
Methodon_select
(self, _event)
speech_translate/ui/custom/combobox.py:95
Methodopen_dl_link
(self, _event=None)
speech_translate/ui/window/about.py:135
Methodopen_menu
Method to open the menu.
speech_translate/ui/template/detached.py:171
Functionoptional_float
(string)
speech_translate/utils/whisper/load.py:22
Functionoptional_int
(string)
speech_translate/utils/whisper/load.py:18
Methodpreview_gradient
(self)
speech_translate/ui/frame/setting/textbox.py:452
Functionprocess_file
Function to transcribe and translate from audio/video files. Args ---- data_files (list[str]) The path to the audio/video file.
speech_translate/utils/audio/file.py:592
Methodprompt_del_log
(self)
speech_translate/ui/frame/setting/general.py:568
Methodrec
(self)
speech_translate/ui/window/main.py:1621
Functionrecord_cb
Record Audio From stream buffer and save it to queue in global class Will also check for sample rate and threshold setting
speech_translate/utils/audio/record.py:961
Functionrecord_session
Function to record audio and translate it in real time / live. Speaker as input can only be used on Windows. Other OS need to use mic, speake
speech_translate/utils/audio/record.py:52
Methodrefine_file
(self)
speech_translate/ui/window/main.py:1863
Methodreq_update_check
(self, notify_up_to_date=False)
speech_translate/ui/window/about.py:144
Methodreset
(self)
speech_translate/ui/custom/dialog.py:769
Functionrun_mod
()
speech_translate/utils/audio/file.py:1161
Functionrun_tc
()
speech_translate/utils/audio/record.py:815
Functionrun_threaded
()
speech_translate/ui/custom/download.py:474
Functionrun_translate_api
Run translation API Parameters ---------- query : stable_whisper.WhisperResult The result of whisper process. engine : str
speech_translate/utils/audio/file.py:94
Functionrun_whisper
Run whisper function Args ---- func : function The whisper function to run. fail_status : list To store the fail stat
speech_translate/utils/audio/file.py:63
Functionrun_whisper_tl
Run Translate
speech_translate/utils/audio/record.py:1043
Methodsave_cache
Save but from cache
speech_translate/utils/setting.py:341
MethodsetUp
(self)
test/ui/audio_testcase.py:16
MethodsetUp
(self)
test/ui/combobox_testcase.py:16
Methodset_meter
Open or close the speaker meter alongside the audio stream. This function also handle the UI changes when the meter is opened or clos
speech_translate/ui/frame/setting/record.py:367
Methodset_text_font
(self, font)
speech_translate/ui/custom/label.py:33
Methodset_title
(self, title)
speech_translate/ui/custom/label.py:27
Methodset_title_font
(self, font)
speech_translate/ui/custom/label.py:30
Functionshorten_progress_bar
(match)
speech_translate/_logging.py:25
Methodshow
(self)
speech_translate/ui/window/about.py:128
Methodshow
(self)
speech_translate/ui/window/setting.py:106
Methodshow
Method to show the window.
speech_translate/ui/template/detached.py:288
Methodshow_help
Help window.
speech_translate/ui/template/detached.py:182
Methodshow_menu
Show the dropdown menu if the combobox is clicked Position it based on the combobox location and height
speech_translate/ui/custom/combobox.py:187
Methodshow_tip
(self, _event=None)
speech_translate/ui/custom/tooltip.py:191
Functionsignal_handler
(_sig, _frame)
speech_translate/ui/window/main.py:105
Functionslider_move
(event)
speech_translate/utils/audio/record.py:517
Methodslider_move
Slider move, update display
speech_translate/ui/frame/setting/record.py:539
Methodstart_move
(self, event)
speech_translate/ui/custom/label.py:50
Methodstop_move
(self, _event)
speech_translate/ui/custom/label.py:54
Functionstop_recording
()
speech_translate/utils/audio/record.py:442
Methodstream_cb
Stream callback for the audio stream
speech_translate/ui/frame/setting/record.py:485
Methodsubmit
(self)
speech_translate/ui/custom/dialog.py:57
Methodsubmit
(self)
speech_translate/ui/custom/dialog.py:210
Methodsubmit
(self)
speech_translate/ui/custom/dialog.py:457
Methodsubmit
(self)
speech_translate/ui/custom/dialog.py:569
Functiontb_copy_only
Copy only in text box Parameters ---------- event : event Returns ------- str "break" if not allowe
speech_translate/utils/helper.py:443
Functiontb_copy_only
(event)
speech_translate/ui/custom/tooltip.py:7
Methodtb_swap_content
(self)
speech_translate/ui/window/main.py:1159
← previousnext →401–500 of 557, ranked by callers