MCPcopy Create free account

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

Functions557 in github.com/Dadangdut33/Speech-Translate

↓ 1 callersMethodshow
(self)
speech_translate/ui/window/log.py:100
↓ 1 callersMethodshow
(self)
speech_translate/ui/window/main.py:813
↓ 1 callersMethodshow
(self)
speech_translate/ui/custom/dialog.py:961
↓ 1 callersMethodshow_relative_to_master
(self)
speech_translate/ui/template/detached.py:301
↓ 1 callersMethodshow_tip
(self, _event=None)
speech_translate/ui/custom/tooltip.py:73
↓ 1 callersFunctionsnapshot_download
Taken from huggingface library, modified to be able to cancel download
speech_translate/ui/custom/download.py:227
↓ 1 callersMethodspeaker_refresh
Refresh speaker list while also checking if the device is still available.
speech_translate/ui/window/main.py:1111
↓ 1 callersMethodstart_refresh_thread
(self)
speech_translate/ui/window/log.py:117
↓ 1 callersFunctionstr2bool
(string: str)
speech_translate/utils/whisper/load.py:26
↓ 1 callersMethodtb_delete
(self)
speech_translate/ui/frame/setting/textbox.py:377
↓ 1 callersMethodtb_insert_preview
(self)
speech_translate/ui/frame/setting/textbox.py:383
↓ 1 callersFunctionto_language_name
Getting language name from language code, if the language is already language name, it will return the language name Parameters ---
speech_translate/utils/whisper/helper.py:99
↓ 1 callersMethodunpost_menu
(self, _event=None)
speech_translate/ui/custom/combobox.py:208
↓ 1 callersMethodupdate_log
(self)
speech_translate/ui/custom/dialog.py:934
↓ 1 callersMethodupdate_sheet
(self)
speech_translate/ui/custom/dialog.py:180
↓ 1 callersMethodupdate_visual
(self)
speech_translate/ui/custom/audio.py:60
↓ 1 callersFunctionverify_language_in_key
Verify if the language is in the key of the engine Parameters ---------- search : str Language to verify engine : str
speech_translate/utils/translate/language.py:214
↓ 1 callersMethodverify_loaded_setting
Verify loaded setting
speech_translate/utils/setting.py:398
↓ 1 callersFunctionwhisper_download_with_progress_gui
Download a model from whisper provided URL, the code is directly modified from whisper code with many modifications. Parameters ----------
speech_translate/ui/custom/download.py:22
↓ 1 callersFunctionwrap_result
Wrap the result text to a certain length, each sentences should already have its separator in it Parameters ---------- res : List[To
speech_translate/utils/helper.py:241
↓ 1 callersFunctionwrite_csv
( transcript: Union[stable_whisper.WhisperResult, StableTsResultDict], file, sep=",", text_fir
speech_translate/utils/whisper/save.py:14
Method__getstate__
Help to make MyQueue instance serializable. Note that we record the parent class state, which is the state of the actual queue, and th
speech_translate/utils/custom/queue.py:60
Method__init__
(self)
speech_translate/linker.py:46
Method__init__
(self)
speech_translate/_logging.py:35
Method__init__
(self, setting_path: str, checkdirs: List[str], path_icon: str)
speech_translate/utils/setting.py:246
Method__init__
(self, _bytes, timestamp, duration)
speech_translate/utils/audio/audio.py:18
Method__init__
(self, n=0)
speech_translate/utils/custom/queue.py:23
Method__init__
(self)
speech_translate/utils/custom/queue.py:56
Method__init__
(self, GoogleTranslator, MyMemoryTranslator)
speech_translate/utils/translate/translator.py:65
Method__init__
(self, master: Tk)
speech_translate/ui/window/log.py:21
Method__init__
(self, master: Tk)
speech_translate/ui/window/about.py:22
Method__init__
(self, master: Tk)
speech_translate/ui/window/setting.py:20
Method__init__
(self, master: Tk)
speech_translate/ui/window/transcribed.py:11
Method__init__
(self, master: Tk)
speech_translate/ui/window/translated.py:11
Method__init__
(self, args, **kwargs)
speech_translate/ui/window/main.py:74
Method__init__
(self)
speech_translate/ui/window/main.py:227
Method__init__
( self, root: Toplevel, master_frame: Union[ttk.Frame, Frame], device: Literal["speaker", "mic"],
speech_translate/ui/frame/setting/record.py:32
Method__init__
(self, root: Toplevel, master_frame: Union[ttk.Frame, Frame])
speech_translate/ui/frame/setting/record.py:620
Method__init__
(self, master, model_name, btn_cb)
speech_translate/ui/frame/setting/general.py:35
Method__init__
(self, root: Toplevel, master_frame: Union[ttk.Frame, Frame])
speech_translate/ui/frame/setting/general.py:50
Method__init__
(self, root: Toplevel, master_frame: Union[ttk.Frame, Frame])
speech_translate/ui/frame/setting/transcribe.py:19
Method__init__
(self, root: Toplevel, master_frame: Union[ttk.Frame, Frame])
speech_translate/ui/frame/setting/export.py:21
Method__init__
(self, root: Toplevel, master_frame: Union[ttk.Frame, Frame])
speech_translate/ui/frame/setting/translate.py:13
Method__init__
( self, root: Toplevel, master_frame: Union[ttk.Frame, Frame], title: str, f_type: str, is_main: bool,
speech_translate/ui/frame/setting/textbox.py:19
Method__init__
(self, root: Toplevel, master_frame: Union[ttk.Frame, Frame])
speech_translate/ui/frame/setting/textbox.py:178
Method__init__
(self, parent, root, *args, **kwargs)
speech_translate/ui/custom/label.py:41
Method__init__
( self, root: Union[Tk, Toplevel], master, v_min: Union[float, int], v
speech_translate/ui/custom/spinbox.py:54
Method__init__
( self, root: Union[Tk, Toplevel], master, values: List[str], vmin: str, vmax: str, save_func, initial
speech_translate/ui/custom/combobox.py:52
Method__init__
(self, root: Union[Tk, Toplevel], master, categories, callback, *args, **kwargs)
speech_translate/ui/custom/combobox.py:148
Method__init__
(self, parent: Union[Tk, Toplevel], title: str, prompt: str, options: List)
speech_translate/ui/custom/dialog.py:29
Method__init__
( self, master, title: str, mode: Literal["File Import", "Refinement", "Alignm
speech_translate/ui/custom/dialog.py:81
Method__init__
(self, master, title: str, submit_func, theme: str, **kwargs)
speech_translate/ui/custom/dialog.py:249
Method__init__
(self, master, title: str, submit_func, theme: str, **kwargs)
speech_translate/ui/custom/dialog.py:493
Method__init__
(self, master, title: str, mode: Union[Literal["Refinement", "Alignment"], str], with_lang=False)
speech_translate/ui/custom/dialog.py:596
Method__init__
(self, master, title: str, submit_func, theme: str, **kwargs)
speech_translate/ui/custom/dialog.py:787
Method__init__
(self, master, title: str, submit_func, theme: str, **kwargs)
speech_translate/ui/custom/dialog.py:819
Method__init__
(self, master: Union[Tk, Toplevel], title: str, mode: str, header: List)
speech_translate/ui/custom/dialog.py:977
Method__init__
(self, master, root, show_threshold: bool, v_min: float, v_max: float, **kwargs)
speech_translate/ui/custom/audio.py:12
Method__init__
(self, mbox_id: str, parent: Union[Tk, Toplevel], title: str, text: str, geometry=None)
speech_translate/ui/custom/message.py:14
Method__init__
( self, widget, text: str, delay: int = 250, wrap_len: int = 180,
speech_translate/ui/custom/tooltip.py:29
Method__init__
( self, widget: Union[Text, Entry, ttk.Entry], text: str, delay=250, o
speech_translate/ui/custom/tooltip.py:143
Method__init__
(self, master, initial_value: bool, callback=None, state="", *args, **kwargs)
speech_translate/ui/custom/checkbutton.py:9
Method__init__
(self, master: Tk, title: str, win_type: Literal["tc", "tl"])
speech_translate/ui/template/detached.py:18
Method__init__
(self, _bytes, timestamp, duration)
test/audio/vad.py:54
Method__setstate__
(self, state)
speech_translate/utils/custom/queue.py:71
Methodadd_data
Base function for adding file. Should be overridden
speech_translate/ui/custom/dialog.py:174
Methodadd_data
(self)
speech_translate/ui/custom/dialog.py:431
Methodadd_data
(self)
speech_translate/ui/custom/dialog.py:553
Methodadd_data
(self)
speech_translate/ui/custom/dialog.py:805
Methodadd_data
(self)
speech_translate/ui/custom/dialog.py:834
Methodadd_file_pair
(self)
speech_translate/ui/custom/dialog.py:751
Methodadd_theme
(self)
speech_translate/ui/frame/setting/general.py:893
Functionadd_to_files
()
speech_translate/utils/audio/file.py:699
Methodadjust_window_size
(self)
speech_translate/ui/custom/dialog.py:168
Methodadjust_window_size
(self)
speech_translate/ui/custom/dialog.py:454
Methodadjust_window_size
(self)
speech_translate/ui/custom/dialog.py:704
Methodadjust_window_size
(self)
speech_translate/ui/custom/dialog.py:941
Methodafter_func
()
speech_translate/ui/frame/setting/general.py:587
Methodafter_show_called
(self)
speech_translate/ui/window/log.py:103
Methodafter_show_called
(self)
speech_translate/ui/custom/dialog.py:913
Methodalign_file
(self)
speech_translate/ui/window/main.py:1940
Methodbrowse_mod_file
(self)
speech_translate/ui/custom/dialog.py:724
Methodbrowse_source_file
(self)
speech_translate/ui/custom/dialog.py:709
Methodcall_both_with_wait
(self, open_stream=True)
speech_translate/ui/frame/setting/record.py:1088
Methodcallback_export_to
( self, value: Union[Literal["txt"], Literal["csv"], Literal["json"], Literal["srt"], Literal["ass"],
speech_translate/ui/frame/setting/transcribe.py:973
Functioncancel
()
speech_translate/utils/audio/file.py:731
Methodcancel
(self)
speech_translate/ui/custom/dialog.py:757
Functioncancellable_tc
Transcribe and translate audio/video file with whisper. Also cancelable like the cancellable_tl function Args ---- audio_name: s
speech_translate/utils/audio/file.py:216
Functioncancellable_tl
Translate the result of file input using either whisper model or translation API This function is cancellable with the cancel flag that is se
speech_translate/utils/audio/file.py:397
Methodcb_model_change
(self, _event=None)
speech_translate/ui/window/main.py:1177
Methodcb_model_change
(self, _event=None)
speech_translate/ui/custom/dialog.py:338
Methodcb_swap_lang
(self)
speech_translate/ui/window/main.py:1163
Methodcb_theme_change
(self, _event=None)
speech_translate/ui/frame/setting/general.py:863
Methodchange_categories
Change the categories and items in the dropdown menu
speech_translate/ui/custom/combobox.py:171
Methodchange_opacity
Method to change the opacity of the window by scrolling. Args: event (event): event object
speech_translate/ui/template/detached.py:332
Methodcheck_failed
()
speech_translate/ui/window/main.py:1565
Methodcheck_ffmpeg
()
speech_translate/ui/window/main.py:711
Methodcheck_ffmpeg_start
Check ffmpeg on start FFmpeg should already be included when you are using the prebuilt version of the app. But if y
speech_translate/ui/window/main.py:704
Methodcheck_model_on_first_open
Check if model is downloaded on first setting open. It need to be checked hardcodedly because for some reason if i try to us
speech_translate/ui/frame/setting/general.py:672
Methodclear_export
(self)
speech_translate/ui/frame/setting/export.py:548
← previousnext →301–400 of 557, ranked by callers