Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/debpalash/VoiceStudio
/ functions
Functions
15,058 in github.com/debpalash/VoiceStudio
⨍
Functions
15,058
◇
Types & classes
1,240
↳
Endpoints
303
↓ 2 callers
Function
_env_flag
(name: str, default: bool = False)
backend/main.py:375
↓ 2 callers
Function
_environment
(service: dict)
tests/test_headless_worker_packaging.py:20
↓ 2 callers
Function
_err
(msg: str)
backend/mcp_shim/__main__.py:41
↓ 2 callers
Method
_estimate_target_tokens
Estimate number of target audio tokens.
omnivoice/models/omnivoice.py:1233
↓ 2 callers
Function
_events
(body: str)
tests/test_funasr_global_speaker_chunking.py:36
↓ 2 callers
Function
_exe
(name: str)
backend/services/media_tools.py:168
↓ 2 callers
Function
_existing_ancestor
Deepest existing ancestor of ``path`` (for disk_usage on missing dirs).
backend/services/storage_report.py:82
↓ 2 callers
Function
_existing_segment_artifact
Discover an existing, non-symlink segment WAV inside one job root.
backend/api/routers/dub_export.py:1384
↓ 2 callers
Function
_expire
Age a cache entry past its TTL without touching the clock. ``time.monotonic`` is the stdlib's, shared with sqlite and logging, so freezing it
tests/test_lmstudio_model_discovery.py:51
↓ 2 callers
Function
_expire_cookie
(response: Response, request: Request, name: str)
backend/api/routers/auth.py:123
↓ 2 callers
Function
_extraction_call
The ``extract_speaker_clones(...)`` call node in dub_core, by AST — a comment mentioning the right directory must not satisfy this.
tests/test_clone_refs_live_in_their_own_job_dir.py:37
↓ 2 callers
Function
_f
A stand-in for huggingface_hub.DryRunFileInfo.
tests/test_fdl_download_preflight.py:12
↓ 2 callers
Function
_f32
(pcm: bytes)
tests/backend/services/test_aec.py:24
↓ 2 callers
Method
_fail
(self, task: Task, error: WorkerError, *, now: float)
backend/worker/scheduler.py:1289
↓ 2 callers
Function
_fail_model_info
(monkeypatch)
tests/test_socks_proxy.py:133
↓ 2 callers
Function
_fake_backend
(calls)
tests/test_mm2_lifecycle.py:29
↓ 2 callers
Function
_fake_backend_cls
(calls)
tests/test_longform_synth_params.py:45
↓ 2 callers
Function
_fallback_version
Version for contexts where package metadata is unavailable.
backend/core/version.py:30
↓ 2 callers
Method
_feed_sink
Forward a byte/count update to the overall aggregator sink. Passes the tqdm `unit` so the aggregator can tell a byte bar
backend/utils/hf_progress.py:240
↓ 2 callers
Function
_ffprobe
(path)
tests/test_longform_e2e.py:89
↓ 2 callers
Function
_file_matches
(path: str, digest: str, size: int)
backend/worker/inbound/artifacts.py:1094
↓ 2 callers
Function
_find_item
(items: list[dict], item_id: str)
backend/api/routers/community.py:435
↓ 2 callers
Function
_finish_current_locked
()
backend/core/startup_progress.py:49
↓ 2 callers
Function
_finish_rollback
Finish a lifecycle rollback even if its caller is cancelled again.
backend/worker/inbound/service.py:44
↓ 2 callers
Method
_finish_session_activation
( self, session: _Session, registration: dict, pending_sessions: dict[str, _Se
backend/worker/transport/server.py:1210
↓ 2 callers
Function
_fire_abandon_callback
()
backend/services/model_manager.py:690
↓ 2 callers
Function
_fitted_cue_times
Per-segment (start, end) on the fitted timeline when this job used stretch_video; None to use the original segment times. (Wave 3.1.)
backend/api/routers/dub_export.py:1638
↓ 2 callers
Function
_fold
One filename part, reduced to safe ASCII.
backend/core/http_headers.py:37
↓ 2 callers
Function
_force_reap
Shut down every live sidecar matching ``predicate`` *now*, ignoring idle time. Returns the count shut down. Busy-guarded exactly like the idle
backend/services/subprocess_backend.py:182
↓ 2 callers
Function
_format_vtt_time
(seconds)
backend/api/routers/dub_export.py:1697
↓ 2 callers
Function
_free_memory_bytes
(caps)
backend/worker/capabilities.py:33
↓ 2 callers
Function
_frontend_sniff
The substring apiFetch matches on a 403 to admit it to the auth gate.
tests/test_auth_gate_detail_lockstep.py:26
↓ 2 callers
Function
_fsync_file
Make bytes already written to ``path`` survive a successful ACK.
backend/worker/transport/server.py:143
↓ 2 callers
Function
_fsync_parent_directory
(directory: str)
backend/worker/executor.py:964
↓ 2 callers
Function
_fw_repo
HF repo for a faster-whisper/WhisperX model name (alias or repo id).
backend/services/asr_backend.py:3122
↓ 2 callers
Function
_gallery_params
()
tests/test_worker_tts_parity.py:13
↓ 2 callers
Function
_gallery_profile_audio_filename
Return the canonical, portable filename for a My Imports profile.
backend/api/routers/gallery.py:402
↓ 2 callers
Function
_gen
(text=seg_text, lang=target_lang, dur=seg_duration)
backend/api/routers/batch.py:476
↓ 2 callers
Function
_gen
One generate call for this request's voice, reference encoded once.
backend/api/routers/generation.py:751
↓ 2 callers
Method
_generate_iterative
N-step iterative unmasked decoding. Args: task: A :class:`GenerationTask` containing batch texts, target lengths,
omnivoice/models/omnivoice.py:1343
↓ 2 callers
Method
_generation
(self, api_key: str)
backend/services/admin_sessions.py:146
↓ 2 callers
Method
_get_char_weight
Determines the weight of a single character.
omnivoice/utils/duration.py:166
↓ 2 callers
Function
_get_generator
Lazy-load the AudioSeal generator model. Owns the idle-reaper grace in ONE critical section: the startup prefetch claims it (``mark_prefetche
backend/services/watermark.py:179
↓ 2 callers
Function
_get_time_steps
( t_start: float = 0.0, t_end: float = 1.0, num_step: int = 10, t_shift: float = 1.0, devi
omnivoice/models/omnivoice.py:1711
↓ 2 callers
Function
_go
()
tests/test_gpu_pool_resilient.py:72
↓ 2 callers
Function
_guard_stopiteration
Wrap `fn` so a bare StopIteration can never escape into a Future.
backend/services/model_manager.py:134
↓ 2 callers
Function
_guidance_for
(monkeypatch, family)
tests/test_generate_timeout_730.py:187
↓ 2 callers
Function
_has_column
(table: str, column: str)
backend/migrations/versions/0003_voice_profile_consent.py:43
↓ 2 callers
Function
_has_column
(table: str, column: str)
backend/migrations/versions/0009_generation_history_starred.py:32
↓ 2 callers
Function
_has_column
(table: str, column: str)
backend/migrations/versions/0005_unified_profiles.py:40
↓ 2 callers
Function
_has_column
(table: str, column: str)
backend/migrations/versions/0002_voice_profile_demo_fields.py:37
↓ 2 callers
Function
_has_hf_token
()
backend/api/routers/system.py:157
↓ 2 callers
Function
_has_table
(name: str)
backend/migrations/versions/0009_generation_history_starred.py:38
↓ 2 callers
Function
_has_table
(name: str)
backend/migrations/versions/0004_mcp_client_bindings.py:35
↓ 2 callers
Function
_has_table
(name: str)
backend/migrations/versions/0008_pronunciation_dictionary.py:39
↓ 2 callers
Function
_healthy
A COMPLETE install: for a user-managed dir, trust the engine's own probe (their clone, their layout); for the app-managed install require the
backend/services/sidecar_install.py:463
↓ 2 callers
Function
_heartbeat
Emit a progress frame every ~5s for the duration of the block. IndexTTS spends the whole of a cold load and the whole of ``infer()`` inside o
backend/engines/indextts/main.py:139
↓ 2 callers
Method
_heartbeat_loop
(self, interval: float)
backend/worker/transport/client.py:672
↓ 2 callers
Function
_history_cap
()
backend/api/routers/generation.py:2380
↓ 2 callers
Function
_history_retention_state
()
backend/api/routers/settings.py:225
↓ 2 callers
Function
_imageio_pkg_dir
()
backend/services/media_tools.py:342
↓ 2 callers
Function
_import_resolver
Import the same ``_resolve_instruct`` the runtime calls. Lives in ``omnivoice.models.omnivoice`` (the upstream model module), which transitiv
tests/backend/core/test_personalities.py:32
↓ 2 callers
Function
_index_with_api_base
()
backend/main.py:758
↓ 2 callers
Method
_input_final_path
( self, ref: pb.ArtifactRef, digest: str, *, key_id: str )
backend/worker/inbound/artifacts.py:489
↓ 2 callers
Method
_input_scope
Mint a stable directory without trusting the wire artifact id.
backend/worker/inbound/artifacts.py:483
↓ 2 callers
Function
_insert_worker
(conn, worker: RemoteWorker)
backend/worker/registry.py:220
↓ 2 callers
Function
_inside_bracket_tag
(text: str, pos: int)
backend/services/chunked_tts.py:255
↓ 2 callers
Function
_install_pair
( cert_path: str, key_path: str, credentials: ServerCredentials )
backend/worker/tls.py:351
↓ 2 callers
Function
_install_torch_dtype_recorder
Wrap torch's default-dtype setters to capture the caller's stack. Only records on a *non-float32* set (the rare, offending case), so the over
tests/conftest.py:104
↓ 2 callers
Function
_isApiTarget
(target: string, apiBase: string = API)
frontend/src/api/client.ts:254
↓ 2 callers
Function
_isSpeakerTag
(name)
frontend/src/utils/parseScript.js:71
↓ 2 callers
Function
_is_allowed_probe_endpoint
Only probe the two fixed HTTPS origins shipped by VoiceStudio.
backend/services/endpoint_race.py:86
↓ 2 callers
Function
_is_compile_runtime_failure
True when an exception originates in the torch.compile stack (Dynamo / Inductor / Triton / FX / CUDA-graph trees) rather than in the model itself.
backend/services/model_manager.py:1501
↓ 2 callers
Function
_is_context_call
(client, call)
tests/test_dub_translation_quality.py:41
↓ 2 callers
Function
_is_corrupt_model_file_error
True when a model weight or config file cannot be parsed. The other half of the interrupted-download class (#1406). transformers only raises
backend/services/model_manager.py:1830
↓ 2 callers
Function
_is_corrupt_weights_error
Backward-compatible wrapper for the original #1406 helper name.
backend/services/model_manager.py:1854
↓ 2 callers
Function
_is_direct_call
(client, call)
tests/test_dub_translation_quality.py:53
↓ 2 callers
Function
_is_materialized_community_row
(row, item: dict)
backend/api/routers/community.py:725
↓ 2 callers
Function
_is_oom_failure
True iff the failure (anywhere in its chain) actually looks like an out-of-memory condition — the only case where the Flush hint is honest.
backend/api/routers/generation.py:367
↓ 2 callers
Function
_is_sha256
(value: Any)
backend/services/gallery.py:313
↓ 2 callers
Function
_job
()
tests/test_uv_cross_drive.py:140
↓ 2 callers
Function
_json_request
(method: str, url: str, payload: Any | None = None)
backend/speech_client/__main__.py:82
↓ 2 callers
Function
_key_in_store
(pid: str)
backend/services/llm_providers.py:362
↓ 2 callers
Function
_lang_row
(jid)
tests/test_dub_pipeline_state.py:117
↓ 2 callers
Function
_lease_input_cache_path
(path: str, *, fetching: bool = False)
backend/worker/executor.py:885
↓ 2 callers
Function
_legacy_seg_cache_ok
May this run reuse legacy un-keyed ``seg_<id>.wav`` files? Only when no OTHER language's audio could be sitting in them: the job has no dubbe
backend/api/routers/dub_generate.py:239
↓ 2 callers
Function
_levenshtein
Token-level edit distance (substitutions + insertions + deletions).
tests/probe/judges/transcription.py:45
↓ 2 callers
Function
_license_key
Map an engine id to its license-flag settings key. Public so tests can assert on the exact stored row. The HF-token row's name ``hf_token`` w
backend/services/settings_store.py:425
↓ 2 callers
Function
_line
(obj)
backend/api/routers/generation.py:1740
↓ 2 callers
Function
_llm_client
Lazy-build the OpenAI-compatible client for the Cinematic skill. Resolves through the LLM Skills registry: per-skill provider override → glob
backend/services/translator.py:206
↓ 2 callers
Function
_llm_endpoint_state
()
backend/api/routers/settings.py:321
↓ 2 callers
Function
_llm_env_names
Every env var the LLM-provider registry resolves through. Derived from `services.llm_providers._PROVIDERS` so a newly added provider is guard
tests/conftest.py:288
↓ 2 callers
Function
_llm_prefs_subset
(data: dict)
tests/conftest.py:350
↓ 2 callers
Function
_load
(cert_path: str, key_path: str)
backend/worker/tls.py:277
↓ 2 callers
Function
_load
()
backend/services/model_manager.py:2270
↓ 2 callers
Function
_load
(refresh: bool)
backend/api/routers/community.py:373
↓ 2 callers
Method
_load_activation_worker
Read final durable worker authority under ``authority_guard``.
backend/worker/transport/server.py:1152
↓ 2 callers
Method
_load_backend
Resolve the requested engine and make sure its weights are resident. ``engine_id`` is a registry NAME, never a path — the protocol forbids
backend/worker/executor.py:572
↓ 2 callers
Function
_load_consumed_token_hash
(path: str)
backend/worker/agent.py:604
↓ 2 callers
Function
_load_error
(raw: Optional[str])
backend/worker/task_store.py:45
← previous
next →
1,901–2,000 of 15,058, ranked by callers