MCPcopy Index your code

hub / github.com/YYuX-1145/Srt-AI-Voice-Assistant / functions

Functions282 in github.com/YYuX-1145/Srt-AI-Voice-Assistant

↓ 125 callersMethodappend
(self, subtitle: Subtitle)
Sava_Utils/subtitle.py:216
↓ 103 callersMethodupdate
(self, i18n_data: dict[str:str])
Sava_Utils/i18nAuto/__init__.py:19
↓ 29 callersFunctionprint
(*args, **kwargs)
Sava_Utils/edit_panel.py:417
↓ 20 callersMethodquery
(self, key: str, default=None)
Sava_Utils/settings.py:119
↓ 13 callersMethoddump
(self)
Sava_Utils/subtitle.py:143
↓ 11 callersFunctionload_page
(subtitle_list, target_index=1)
Sava_Utils/edit_panel.py:17
↓ 9 callersFunctiongetworklist
(value=None)
Sava_Utils/edit_panel.py:101
↓ 8 callersFunctionbasename_no_ext
(path: str)
Sava_Utils/utils.py:67
↓ 8 callersMethodset
(self)
Sava_Utils/utils.py:31
↓ 7 callersMethodgetInfo
(self, key)
Sava_Utils/man/__init__.py:26
↓ 7 callersMethodis_set
Returns True if a stop request has been issued by the user. Call this periodically in long-running loops to safely abort.
Sava_Utils/utils.py:42
↓ 6 callersMethodget_abs_dir
(self)
Sava_Utils/subtitle.py:163
↓ 6 callersMethodpop
(self, index)
Sava_Utils/subtitle.py:233
↓ 6 callersFunctionread_file
(file_name, fps=30, offset=0)
Sava_Utils/utils.py:275
↓ 6 callersMethodrun
(self)
Sava_Extensions/translator/youdao/utils/WebSocketUtil.py:50
↓ 6 callersFunctionto_time
(time_raw: float)
Sava_Utils/subtitle.py:25
↓ 5 callersFunctiongetspklist
(value="None")
Sava_Utils/edit_panel.py:118
↓ 5 callersFunctionref_script_choices
()
Sava_Utils/edit_panel.py:362
↓ 4 callersMethodarg_filter
(self, *args)
Sava_Utils/tts_engines/gsv.py:469
↓ 4 callersFunctionbasename_no_ext
(path: str)
tools/wav2srt.py:35
↓ 4 callersMethodexport
(self, fp=None, open_explorer=True, raw=False)
Sava_Utils/subtitle.py:242
↓ 4 callersMethodgetUI
(self)
Sava_Utils/settings.py:316
↓ 4 callersMethodget_srt_time
(self)
Sava_Utils/subtitle.py:107
↓ 4 callersMethodget_state
(self)
Sava_Utils/subtitle.py:110
↓ 4 callersMethodinsert
(self, index, item)
Sava_Utils/subtitle.py:236
↓ 4 callersMethodto_float_srt_time
(self, time: str)
Sava_Utils/subtitle.py:58
↓ 3 callersMethod_apply_slice
(self, waveform, begin, end)
tools/slicer2.py:64
↓ 3 callersMethodapply_offset
(self, offset: float = 0.0)
Sava_Utils/subtitle.py:99
↓ 3 callersMethodaudio_join
(self, sr=None, gr_comp=True)
Sava_Utils/subtitle.py:166
↓ 3 callersMethodbefore_gen_action
(self, *args, **kwargs)
Sava_Utils/tts_engines/gsv.py:483
↓ 3 callersMethodrefresh_presets_list
(self, reset=True)
Sava_Utils/tts_engines/gsv.py:614
↓ 3 callersFunctionrefspklist
()
Sava_Utils/edit_panel.py:111
↓ 3 callersFunctionshow_page
(page_start, subtitle_list: Subtitles)
Sava_Utils/edit_panel.py:30
↓ 3 callersMethodsort
(self, begin=0, end=0, partial=False)
Sava_Utils/subtitle.py:219
↓ 2 callersMethod_apply_to_components
(self)
Sava_Utils/settings.py:254
↓ 2 callersMethodapi
(self, text, mid, spk_name, sid, lang, length, noise, noisew, sdp, emotion, split, style_text, style_weight, p
Sava_Extensions/tts_engine/BV2/bv2.py:49
↓ 2 callersMethodapi
(self, port, artts_name, **kwargs)
Sava_Utils/tts_engines/gsv.py:162
↓ 2 callersFunctioncalculateSign
(appKey, appSecret, q, salt, curtime)
Sava_Extensions/translator/youdao/utils/AuthV3Util.py:54
↓ 2 callersMethodclear
(self)
Sava_Utils/utils.py:38
↓ 2 callersMethodfrom_dict
(cls, dict)
Sava_Utils/settings.py:135
↓ 2 callersFunctiongen_multispeaker
(interrupt_event: Sava_Utils.utils.Flag, *args, remake=False)
Srt-AI-Voice-Assistant.py:136
↓ 2 callersMethodget_ext_tab
(self)
Sava_Utils/settings.py:290
↓ 2 callersFunctionload_audio
(filepath, sr=None)
Sava_Utils/audio_utils.py:96
↓ 2 callersFunctionmerge_subtitles
(subtitles_main: Subtitles, subtitles_tr: Subtitles)
Sava_Utils/subtitle_translation.py:18
↓ 2 callersFunctionpositive_int
(*a)
Sava_Utils/utils.py:58
↓ 2 callersFunctionread_labeled_file
(file_name, spk_dict, fps=30, offset=0)
Sava_Utils/utils.py:290
↓ 2 callersFunctionrefworklist
()
Sava_Utils/edit_panel.py:93
↓ 2 callersMethodregister_settings
(self)
Sava_Utils/tts_engines/gsv.py:395
↓ 2 callersMethodreset_srt_time
(self, timestamp)
Sava_Utils/subtitle.py:64
↓ 2 callersMethodset_dir_name
(self, dir_name: str)
Sava_Utils/subtitle.py:151
↓ 2 callersMethodslice
(self, waveform)
tools/slicer2.py:75
↓ 2 callersMethodswitch_gsvmodel
(self, sovits_path, gpt_path, port, force=True, notify=True)
Sava_Utils/tts_engines/gsv.py:521
↓ 2 callersMethodto_dict
(self)
Sava_Utils/settings.py:125
↓ 2 callersMethodto_dict
(self)
Sava_Utils/tts_engines/gsv.py:665
↓ 2 callersMethodto_float_prcsv_time
(self, time: str, fps: int)
Sava_Utils/subtitle.py:53
↓ 2 callersFunctionto_time
(time_raw: float)
tools/wav2srt.py:212
↓ 2 callersFunctiontts_handle
(req: dict)
extra/indexTTS/indextts2_api.py:99
↓ 1 callersMethod_UI
(self, file_main)
Sava_Utils/subtitle_translation.py:125
↓ 1 callersMethod_UI
(self)
Sava_Utils/settings.py:323
↓ 1 callersMethod_UI
Define UI here.
Sava_Utils/base_component.py:40
↓ 1 callersMethod__init__
The name parameter must not be empty for extensions. self.gen_btn is a class member representing the generation button, which is not
Sava_Utils/tts_engines/__init__.py:10
↓ 1 callersFunction_load_package_from_dir
(dir_path: str)
Sava_Utils/extension_loader.py:15
↓ 1 callersMethodactivate
(self, inputs, outputs, generate_preprocess)
Sava_Utils/tts_engines/__init__.py:145
↓ 1 callersFunctionaddAuthParams
(appKey, appSecret, params)
Sava_Extensions/translator/youdao/utils/AuthV3Util.py:17
↓ 1 callersMethodapi
(self, func, text)
Sava_Extensions/tts_engine/CUSTOM_OLD/custom.py:16
↓ 1 callersMethodapi
Mandatory. Define the API call code here. Return value must be binary data of a wav file. If there is an error, return None.
Sava_Utils/tts_engines/__init__.py:19
↓ 1 callersMethodapi
(self, language, speaker, style, role, rate, pitch, text, **kwargs)
Sava_Utils/tts_engines/mstts.py:128
↓ 1 callersMethodapi_launcher
Define button for launching API here. Example: def start_gsv(): pass start_gsv_btn = gr.Butto
Sava_Utils/tts_engines/__init__.py:50
↓ 1 callersFunctioncalculateSign
(appKey, appSecret, salt, curtime)
Sava_Extensions/translator/youdao/utils/AuthV4Util.py:37
↓ 1 callersFunctioncheck_params
(req: dict)
extra/indexTTS/indextts2_api.py:89
↓ 1 callersFunctionclear_cache
()
Sava_Utils/utils.py:71
↓ 1 callersFunctioncompare_index_lt
(i1, i2)
Sava_Utils/subtitle.py:19
↓ 1 callersMethodconstruct_tasks
By default, tasks are grouped into batches. Example with batch_size = 2: Subtitle 1: Hello! Subtitle 2: 你好!
Sava_Utils/translator/__init__.py:14
↓ 1 callersMethodcopy
(self)
Sava_Utils/subtitle.py:119
↓ 1 callersFunctionencrypt
(strSrc)
Sava_Extensions/translator/youdao/utils/AuthV3Util.py:59
↓ 1 callersFunctionencrypt
(strSrc)
Sava_Extensions/translator/youdao/utils/AuthV4Util.py:42
↓ 1 callersFunctionfix_length
(data, *, size, axis=-1, **kwargs)
Sava_Utils/audio_utils.py:14
↓ 1 callersFunctionflatten
(lst)
Sava_Extensions/extension/WAV2SRT/wav2srt_webui.py:14
↓ 1 callersMethodfrom_dict
(cls, dict)
Sava_Utils/tts_engines/gsv.py:693
↓ 1 callersFunctionfunasr_transcribe
(audio, sr)
tools/wav2srt.py:97
↓ 1 callersFunctiongenerate
(*args, interrupt_event: Sava_Utils.utils.Flag, proj="", in_files=[], fps=30, offset=0, max_workers=1)
Srt-AI-Voice-Assistant.py:52
↓ 1 callersFunctiongenerate_preprocess
(interrupt_event, *args, project=None)
Srt-AI-Voice-Assistant.py:124
↓ 1 callersFunctiongetInput
(input)
Sava_Extensions/translator/youdao/utils/AuthV3Util.py:65
↓ 1 callersMethodgetUI
(self, *args)
Sava_Utils/subtitle_translation.py:73
↓ 1 callersMethodgetUI
(self, *args, **kwargs)
Sava_Utils/extension_loader.py:87
↓ 1 callersMethodgetUI
(self, *args, **kwargs)
Sava_Utils/tts_engines/__init__.py:61
↓ 1 callersMethodget_all_regen_btn
(self, inputs, outputs, gen_multispeaker)
Sava_Utils/tts_engines/__init__.py:123
↓ 1 callersMethodget_btn_visible_dict
(self)
Sava_Utils/tts_engines/__init__.py:105
↓ 1 callersMethodget_launch_api_btn
(self)
Sava_Utils/tts_engines/__init__.py:101
↓ 1 callersMethodget_models
(self, url)
Sava_Utils/translator/ollama.py:22
↓ 1 callersMethodget_regenbtn
(self, inputs, outputs, remake)
Sava_Utils/tts_engines/__init__.py:112
↓ 1 callersFunctionget_rms
( y, frame_length=2048, hop_length=512, pad_mode="constant", )
tools/slicer2.py:5
↓ 1 callersFunctionget_rms
( y, frame_length=2048, hop_length=512, pad_mode="constant", )
Sava_Utils/audio_utils.py:63
↓ 1 callersMethodget_save_spk_btn
(self, speaker_dropdown, save_spk)
Sava_Utils/tts_engines/__init__.py:132
↓ 1 callersMethodgetms_speakers
(self)
Sava_Utils/tts_engines/mstts.py:96
↓ 1 callersFunctionhandle_control
(command: str)
extra/indexTTS/indextts2_api.py:81
↓ 1 callersFunctioninit_ASRmodels
()
tools/wav2srt.py:39
↓ 1 callersFunctioninit_connection
(url)
Sava_Extensions/translator/youdao/utils/WebSocketUtil.py:10
↓ 1 callersFunctionload_ext_from_dir
(roots: list[str], ext_enabled_dict: dict[str:bool])
Sava_Utils/extension_loader.py:27
↓ 1 callersFunctionloudnorm_2pass
(wav_bytes: bytes, I=-17.0, TP=-1.5, LRA=11.0)
Sava_Utils/utils.py:350
next →1–100 of 282, ranked by callers