Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMOSS/MOSS-TTS-Nano
/ functions
Functions
370 in github.com/OpenMOSS/MOSS-TTS-Nano
⨍
Functions
370
◇
Types & classes
27
↳
Endpoints
11
Method
__init__
(self, default_runtime: NanoTTSService)
app.py:249
Method
__init__
(self)
app.py:417
Method
__init__
( self, model_dir: str | Path | None = None, *, thread_count: int = 4,
onnx_tts_runtime.py:283
Method
__init__
( self, records: Iterable[Dict[str, Any]], *, tokenizer, model_config,
finetuning/dataset.py:68
Method
__init__
(self, model: nn.Module)
onnx/export_moss_tts_browser_onnx.py:86
Method
__init__
(self, transformer: nn.Module)
onnx/export_moss_tts_browser_onnx.py:321
Method
__init__
(self, model: nn.Module)
onnx/export_moss_tts_browser_onnx.py:538
Method
__init__
(self, model: nn.Module)
onnx/export_moss_tts_browser_onnx.py:576
Method
__init__
(self, model: nn.Module)
onnx/export_moss_tts_browser_onnx.py:630
Method
__init__
(self, model: nn.Module)
onnx/export_moss_tts_browser_onnx.py:739
Method
__init__
(self, model: nn.Module, prefix_sample_channels: int = LOCAL_MIXED_PREFIX_SAMPLE_CHANNELS)
onnx/export_moss_tts_browser_onnx.py:836
Method
__init__
(self, model: nn.Module)
onnx/export_moss_tts_browser_onnx.py:938
Method
__len__
(self)
finetuning/dataset.py:83
Method
__post_init__
(self)
ort_cpu_runtime.py:265
Method
__str__
(self)
app_onnx.py:38
Method
_decode_pending
(force: bool)
app_onnx.py:313
Method
_emit_waveform
(waveform: np.ndarray, *, is_pause: bool)
app_onnx.py:289
Function
_mixed_qe
(match: re.Match[str])
tts_robust_normalizer_single_script.py:266
Method
_on_frame
(_generated_frames: list[list[int]], _step_index: int, frame: list[int])
app_onnx.py:338
Method
_patched_resolve_stream_decode_frame_budget
( *, emitted_samples_total: int, sample_rate: int, first_audio
moss_tts_nano_runtime.py:239
Function
_render_index_html_onnx
( *, request, runtime, demo_entries, warmup_status: str, text_normalization_status: st
app_onnx.py:485
Method
_run
(self)
text_normalization_pipeline.py:79
Method
_run
(self)
app.py:213
Method
_run_decode_step
( self, *, inputs_embeds: torch.Tensor, past_valid_lengths: torch.Tensor,
onnx/export_moss_tts_browser_onnx.py:270
Function
_run_generate
(args: argparse.Namespace)
moss_tts_nano/cli.py:329
Function
_run_serve
(args: argparse.Namespace)
moss_tts_nano/cli.py:397
Function
_run_streaming_job
( job: StreamingJob, *, text: str, prompt_audio_path: str, prompt_audi
app.py:2284
Method
_run_transformer
( self, *, inputs_embeds: torch.Tensor, full_attention_mask: torch.Tensor,
onnx/export_moss_tts_browser_onnx.py:230
Function
_stream_factory
(selected_runtime: NanoTTSService)
app.py:2314
Function
_synthesize
(selected_runtime: NanoTTSService)
app.py:2771
Method
_worker
()
app_onnx.py:256
Method
call_with_runtime
( self, *, requested_execution_device: str | None, cpu_threads: int | None,
app_onnx.py:461
Method
close
(self)
text_normalization_pipeline.py:76
Method
collate_fn
(self, batch: List[Dict[str, torch.Tensor]])
finetuning/dataset.py:130
Method
decode_pending_frames
(force: bool)
onnx_tts_runtime.py:552
Function
demo_prompt_audio
(demo_id: str)
app.py:2488
Method
failed
(self)
text_normalization_pipeline.py:25
Method
failed
(self)
app.py:152
Method
forward
(self, input_ids_i32: torch.Tensor, attention_mask_i32: torch.Tensor)
onnx/export_moss_tts_browser_onnx.py:542
Method
forward
(self, input_ids_i32: torch.Tensor, past_valid_lengths_i32: torch.Tensor, *past: torch.Tensor)
onnx/export_moss_tts_browser_onnx.py:559
Method
forward
( self, global_hidden: torch.Tensor, text_token_id_i32: torch.Tensor, audio_pr
onnx/export_moss_tts_browser_onnx.py:583
Method
forward
( self, global_hidden: torch.Tensor, text_token_id_i32: torch.Tensor, audio_to
onnx/export_moss_tts_browser_onnx.py:653
Method
forward
( self, global_hidden: torch.Tensor, repetition_seen_mask_i32: torch.Tensor, r
onnx/export_moss_tts_browser_onnx.py:775
Method
forward
( self, global_hidden: torch.Tensor, sampled_prefix_token_ids_i32: torch.Tensor,
onnx/export_moss_tts_browser_onnx.py:886
Method
forward
( self, global_hidden: torch.Tensor, repetition_seen_mask_i32: torch.Tensor, a
onnx/export_moss_tts_browser_onnx.py:968
Function
generate
( text: str = Form(...), demo_id: str = Form(""), prompt_audio: UploadFile | None = Fi
app.py:2713
Function
generate_stream_audio
(stream_id: str)
app.py:2632
Function
generate_stream_close
(stream_id: str)
app.py:2698
Function
generate_stream_result
(stream_id: str)
app.py:2656
Function
generate_stream_start
( text: str = Form(...), demo_id: str = Form(""), prompt_audio: UploadFile | None = Fi
app.py:2502
Function
generate_stream_status
(stream_id: str)
app.py:2622
Function
health
()
app.py:2432
Function
index
(request: Request)
app.py:2418
Method
is_cpu_runtime_loaded
(self)
app_onnx.py:419
Method
is_dedicated_cpu_request
(self, requested: str | None)
app_onnx.py:415
Method
is_dedicated_cpu_request
(self, requested: str | None)
app.py:263
Method
iter_with_runtime
( self, *, requested_execution_device: str | None, cpu_threads: int | None,
app_onnx.py:472
Method
list_voice_names
(self)
moss_tts_nano_runtime.py:422
Method
normalize_requested_execution_device
(requested: str | None)
app_onnx.py:411
Method
on_frame
(_generated_frames: list[list[int]], _step_index: int, frame: list[int])
onnx_tts_runtime.py:579
Method
preload
(self, *, voices: Optional[list[str]] = None, load_model: bool = True)
moss_tts_nano_runtime.py:447
Method
ready
(self)
app.py:148
Function
repl
(match: re.Match[str])
tts_robust_normalizer_single_script.py:162
Method
resolve_runtime
(self, requested: str | None)
app_onnx.py:449
Method
split_voice_clone_text
( self, *, text: str, voice_clone_max_text_tokens: int = 75, )
moss_tts_nano_runtime.py:386
Method
synthesize_stream
( self, *, text: str, voice: Optional[str] = None, mode: str = "voice_
moss_tts_nano_runtime.py:608
Function
text_normalization_status
()
app.py:2465
Method
warmup
( self, *, text: str = "你好,欢迎使用 Nano-TTS。", voice: Optional[str] = None, )
moss_tts_nano_runtime.py:764
Method
warmup
(self)
app_onnx.py:80
Function
warmup_status
()
app.py:2452
← previous
301–370 of 370, ranked by callers