MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
()
tools/slicer2.py:183
↓ 1 callersFunctionmatch_text
(text: str, target: str | re.Pattern)
Sava_Utils/edit_panel.py:277
↓ 1 callersMethodms_refresh
(self)
Sava_Utils/tts_engines/mstts.py:203
↓ 1 callersFunctionpack_wav
(io_buffer: BytesIO, data: np.ndarray, rate: int)
extra/indexTTS/indextts2_api.py:75
↓ 1 callersFunctionrc_bg
(command, dir=current_path)
Sava_Utils/utils.py:92
↓ 1 callersFunctionrc_open_window
(command, dir=current_path)
Sava_Utils/utils.py:82
↓ 1 callersMethodread_file
(self, lang)
Sava_Utils/polyphone.py:54
↓ 1 callersFunctionread_labeled_txt
(filename: str, spk_dict: dict)
Sava_Utils/utils.py:212
↓ 1 callersFunctionread_prcsv
(filename, fps, offset)
Sava_Utils/utils.py:165
↓ 1 callersFunctionread_srt
(filename, offset)
Sava_Utils/utils.py:130
↓ 1 callersFunctionread_txt
(filename)
Sava_Utils/utils.py:193
↓ 1 callersMethodrefresh_custom_api_list
(self)
Sava_Extensions/tts_engine/CUSTOM_OLD/custom.py:47
↓ 1 callersFunctionremove_silence
(audio, sr, padding_begin=0.1, padding_fin=0.2, dynamic=True, threshold_db=-27, threshold_ratio=0.4)
Sava_Utils/utils.py:330
↓ 1 callersFunctionresample
( y: np.ndarray, *, orig_sr: float, target_sr: float, res_type: str = "soxr_hq", fix:
Sava_Utils/audio_utils.py:32
↓ 1 callersFunctionsave
(args, proj: str = None, dir: str = None, subtitle: Subtitle = None)
Srt-AI-Voice-Assistant.py:234
↓ 1 callersMethodsave
(self)
Sava_Utils/settings.py:128
↓ 1 callersMethodsave
(self)
Sava_Utils/tts_engines/gsv.py:668
↓ 1 callersMethodsave_action
(self, *args, text: str = None)
Sava_Utils/tts_engines/gsv.py:223
↓ 1 callersFunctionsave_spk
(name: str, *args, project: str)
Srt-AI-Voice-Assistant.py:347
↓ 1 callersMethodset_proj
(self, proj: str)
Sava_Utils/subtitle.py:148
↓ 1 callersMethodstart_translation
(self, in_files, language: str, batch_size: float, merge: bool, output_dir: str, interrupt_flag: Sava_Utils.ut
Sava_Utils/subtitle_translation.py:80
↓ 1 callersFunctiontemp_aux_ra
(a: bytes)
Sava_Utils/tts_engines/gsv.py:61
↓ 1 callersFunctiontemp_ra
(a: tuple)
Sava_Utils/tts_engines/gsv.py:51
↓ 1 callersMethodto_list
(self)
Sava_Utils/settings.py:122
↓ 1 callersMethodto_list
(self)
Sava_Utils/tts_engines/gsv.py:660
↓ 1 callersFunctionto_mono
(y)
Sava_Utils/audio_utils.py:8
↓ 1 callersFunctiontranscribe
(wav_paths, save_root)
tools/wav2srt.py:104
↓ 1 callersMethodupdate_cfg
(self, config)
Sava_Utils/subtitle_translation.py:67
↓ 1 callersMethodupdate_cfg
(self, config:Settings)
Sava_Utils/polyphone.py:34
↓ 1 callersMethodupdate_cfg
Receive the global configuration and you can store the desired settings in class members. You can use config.query(key, default_value
Sava_Utils/base_component.py:26
↓ 1 callersFunctionuvr
(model_name, input_paths, save_root, agg=10, format0='wav')
tools/wav2srt.py:147
↓ 1 callersFunctionwhisper_transcribe
(audio, sr)
tools/wav2srt.py:82
Method_UI
(self)
Sava_Extensions/tts_engine/CUSTOM_OLD/custom.py:19
Method_UI
(self)
Sava_Extensions/tts_engine/BV2/bv2.py:123
Method_UI
(*args, **kwargs)
Sava_Extensions/translator/youdao/TranslateDemo.py:53
Method_UI
(self, global_components)
Sava_Extensions/extension/WAV2SRT/wav2srt_webui.py:35
Method_UI
(self, *args)
Sava_Utils/polyphone.py:38
Method_UI
(self, components)
Sava_Utils/extension_loader.py:77
Method_UI
(self, *args, **kwargs)
Sava_Utils/tts_engines/__init__.py:81
Method_UI
(self)
Sava_Utils/tts_engines/mstts.py:161
Method_UI
(self)
Sava_Utils/tts_engines/gsv.py:275
Method_UI
(self)
Sava_Utils/translator/ollama.py:109
Method__call__
(self, key)
Sava_Utils/i18nAuto/__init__.py:22
Method__del__
(self)
Sava_Utils/subtitle.py:126
Method__enter__
(self)
Sava_Utils/utils.py:49
Method__exit__
(self, exception_type, exception_value, traceback)
Sava_Utils/utils.py:54
Method__getitem__
(self, index)
Sava_Utils/subtitle.py:230
Method__init__
( self, sr: int, threshold: float = -40.0, min_length: int = 5000,
tools/slicer2.py:39
Method__init__
(self)
Sava_Extensions/tts_engine/CUSTOM_OLD/custom.py:11
Method__init__
(self)
Sava_Extensions/tts_engine/BV2/bv2.py:9
Method__init__
(self, config=None)
Sava_Extensions/translator/youdao/TranslateDemo.py:18
Method__init__
(self, ws)
Sava_Extensions/translator/youdao/utils/WebSocketUtil.py:45
Method__init__
(self)
Sava_Extensions/extension/WAV2SRT/wav2srt_webui.py:25
Method__init__
(self)
Sava_Utils/subtitle_translation.py:57
Method__init__
(self)
Sava_Utils/polyphone.py:31
Method__init__
(self)
Sava_Utils/utils.py:27
Method__init__
(self)
Sava_Utils/extension_loader.py:72
Method__init__
(self, index: str, start_time, end_time, text: str, ntype: str, fps=30)
Sava_Utils/subtitle.py:33
Method__init__
(self, index: int, start_time, end_time, text: str, ntype: str, fps=30, speaker=None)
Sava_Utils/subtitle.py:90
Method__init__
(self, proj: str = None, dir: str = None)
Sava_Utils/subtitle.py:136
Method__init__
( self, language: str = "Auto", server_port: int = 0, LAN_access: bool = False
Sava_Utils/settings.py:64
Method__init__
Example: def validate_path(value,config): # (Optional) define a validator function, throwing exceptions is accept
Sava_Utils/settings.py:154
Method__init__
(self, components: dict[int : dict[str:Base_Component]])
Sava_Utils/settings.py:223
Method__init__
The name parameter must not be empty for extensions.
Sava_Utils/base_component.py:7
Method__init__
(self)
Sava_Utils/tts_engines/__init__.py:73
Method__init__
(self)
Sava_Utils/tts_engines/mstts.py:47
Method__init__
(self)
Sava_Utils/tts_engines/gsv.py:87
Method__init__
( self, name: str = "", AR_TTS_Project_name: str = 'GPT_SoVITS', description:
Sava_Utils/tts_engines/gsv.py:636
Method__init__
(self, language=None)
Sava_Utils/man/__init__.py:6
Method__init__
(self, name, config=None)
Sava_Utils/translator/__init__.py:7
Method__init__
(self)
Sava_Utils/translator/ollama.py:14
Method__init__
(self, language=None)
Sava_Utils/i18nAuto/__init__.py:5
Method__iter__
(self)
Sava_Utils/subtitle.py:227
Method__len__
(self)
Sava_Utils/subtitle.py:239
Method__lt__
(self, other)
Sava_Utils/subtitle.py:85
Method__new__
(cls, *args, **kwargs)
Sava_Utils/base_component.py:46
Method__repr__
(self)
Sava_Utils/i18nAuto/__init__.py:25
Method__str__
(self)
Sava_Utils/subtitle.py:82
Method__str__
(self)
Sava_Utils/subtitle.py:131
FunctionaddAuthParams
(appKey, appSecret, params)
Sava_Extensions/translator/youdao/utils/AuthV4Util.py:17
Methodapi
(self, tasks, target_lang, interrupt_flag, *args, file_name: str = "", **kwargs)
Sava_Extensions/translator/youdao/TranslateDemo.py:56
Methodapi
This method must be implemented by subclasses. It returns a list of translated subtitle strings. Parameters: tas
Sava_Utils/translator/__init__.py:36
Methodapi
(self, tasks, target_lang, interrupt_flag, model_name, url, custom_prompt, num_history, no_think, file_name: s
Sava_Utils/translator/ollama.py:48
Methodapi_launcher
(self)
Sava_Extensions/tts_engine/BV2/bv2.py:18
Methodapi_launcher
(self)
Sava_Utils/tts_engines/gsv.py:134
Functionapply_spk
(speaker, page, subtitles: Subtitles, *args)
Sava_Utils/edit_panel.py:229
Functionapply_spkmap2workspace
(spk_map: dict, page, subtitles: Subtitles)
Sava_Utils/edit_panel.py:247
Functionapply_start_end_time
(edit_real_index, edit_start_end_time: str, subtitles: Subtitles)
Sava_Utils/edit_panel.py:205
Methodarg_filter
(self, *args)
Sava_Extensions/tts_engine/CUSTOM_OLD/custom.py:29
Methodarg_filter
(self, *args)
Sava_Extensions/tts_engine/BV2/bv2.py:34
Methodarg_filter
Filters and modifies input arguments. You can raise an exception here when encountering illegal arguments. Typical usage: Verify if a
Sava_Utils/tts_engines/__init__.py:29
Methodarg_filter
(self, *args)
Sava_Utils/tts_engines/mstts.py:192
Methodauto_env_detect
(bv2_pydir: str, config: Settings)
Sava_Extensions/tts_engine/BV2/bv2.py:71
Methodauto_env_detect
(gsv_pydir: str, config: Settings)
Sava_Utils/tts_engines/gsv.py:398
Methodbefore_gen_action
(self, custom_api_path, temp_namesp, **kwargs)
Sava_Extensions/tts_engine/CUSTOM_OLD/custom.py:38
Methodbefore_gen_action
Perform preprocessing operations before calling the API Typical usage: Switch GSV models, obtain API key for Microsoft TTS
Sava_Utils/tts_engines/__init__.py:37
Functioncontrol
(command: str = None)
extra/indexTTS/indextts2_api.py:139
Functioncopy_subtitle
(page, subtitles: Subtitles, *args)
Sava_Utils/edit_panel.py:183
Functioncreate_multi_speaker
(in_files, fps, offset, use_labled_text_mode, spk_dict)
Sava_Utils/utils.py:311
Methoddel_preset
(self, name)
Sava_Utils/tts_engines/gsv.py:601
← previousnext →101–200 of 282, ranked by callers