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
↓ 4 callers
Function
_budgets
(model-load, execution) seconds for this assignment. Server-computed and relative — worker wall clocks are untrusted. A zero or missing field
backend/worker/executor.py:849
↓ 4 callers
Method
_cancel_session_maintenance
(self, session: _Session)
backend/worker/transport/server.py:1843
↓ 4 callers
Function
_capabilities
()
tests/test_worker_server_integrity.py:60
↓ 4 callers
Method
_chunks
(self, n)
tests/test_smart_fit_export.py:163
↓ 4 callers
Function
_client
(app)
tests/backend/test_compute_device_settings.py:46
↓ 4 callers
Function
_client
TestClient anchored to a loopback client tuple so require_admin treats requests as local. The default TestClient client tuple is ('testclient'
tests/backend/test_engine_spawn_token.py:45
↓ 4 callers
Function
_cls
(engine_id)
tests/test_asr_gpu_compat.py:40
↓ 4 callers
Function
_code_only
``src`` with comments and string literals blanked to spaces. ee35d238 made a module a "producer" by *mentioning* ``backend.generate()`` in a
tests/test_watermark_route_coverage.py:80
↓ 4 callers
Function
_community_profile_audio_filename
(profile_id: str, item: dict)
backend/api/routers/community.py:667
↓ 4 callers
Function
_cuda_torch
A CUDA (non-HIP) torch mock — `version` carries no `hip` attribute.
tests/test_cuda_arch_compat.py:42
↓ 4 callers
Function
_current_platform_tags
Return platform tags that the current host supports. Beyond the OS/arch tags, emits the acceleration family so both the ``platforms`` gate an
backend/api/routers/setup/models.py:123
↓ 4 callers
Method
_dial
( self, connection: Connection, servicer, *, wait_until_ready: bool = False )
backend/worker/inbound/service.py:760
↓ 4 callers
Function
_dig
Resolve a dotted key path (``build.devUrl``) into a nested dict.
tests/probe/judges/desktop.py:28
↓ 4 callers
Function
_dispatch_from_pool
Simulate `_gpu_pool` multi-thread dispatch: fire n_calls generates from a multi-worker pool (exactly what the routers' run_in_executor does).
tests/test_compile_thread_affinity.py:75
↓ 4 callers
Function
_done_payload_from_events
Recover the final ``{"type": "done", ...}`` payload from a job's SSE tail. Each row's ``payload`` is the JSON the renderer stored via ``job_s
backend/api/routers/longform_jobs.py:34
↓ 4 callers
Function
_drive
Run _start_mcp_session_manager, then clean up the task; return `mounted`.
tests/test_mcp_startup_timeout.py:44
↓ 4 callers
Function
_empty
()
tests/test_dropped_audio_reaches_the_user_1330.py:45
↓ 4 callers
Function
_ensure_pyannote_hf_token_compat
pyannote-audio 3.x calls huggingface_hub.hf_hub_download / snapshot_download with the ``use_auth_token`` kwarg, which huggingface_hub 1.x removed
backend/services/model_manager.py:3400
↓ 4 callers
Function
_error_events
(history)
tests/test_dub_error_transparency.py:31
↓ 4 callers
Function
_existing_job_dir_or_404
Discover a real job directory without passing request data to a path sink.
backend/api/routers/dub_export.py:57
↓ 4 callers
Function
_expressive_opts
Lower a request's expressive fields into the typed engine-options object.
backend/api/routers/audiobook.py:119
↓ 4 callers
Function
_failing_report
()
tests/probe/test_triage.py:16
↓ 4 callers
Function
_fake_gen
(sr)
tests/test_pause_markers.py:69
↓ 4 callers
Function
_fake_openai_transcribe
Fake openai.OpenAI whose audio.transcriptions.create() either returns a canned response or raises. verbose_ok=False simulates a minimal server
tests/test_asr_openai_compat_877.py:75
↓ 4 callers
Function
_family_payload
Public inventory plus whether an environment pin owns this family.
backend/api/routers/engines.py:45
↓ 4 callers
Function
_fernet
Build a Fernet instance from the derived per-install key. Lazy import of cryptography keeps the module importable even if the dep ever falls
backend/services/settings_store.py:26
↓ 4 callers
Function
_fetch
GET *url*, streaming under a hard byte cap. Returns ``(status_code, headers, body)``; body is ``b""`` for 304. Raises :class:`GalleryError` w
backend/services/gallery.py:364
↓ 4 callers
Method
_fetch_input
Download one declared input with authenticated, ordered chunks.
backend/worker/transport/client.py:1259
↓ 4 callers
Function
_find_speaker_clone
(clones: dict, key: str)
backend/api/routers/dub_generate.py:273
↓ 4 callers
Function
_finish
(task: Task, *, at: float)
tests/test_worker_inputs.py:808
↓ 4 callers
Function
_fresh_links_module
Drop any cached `core.links` so the next import re-runs `_resolve()`.
tests/backend/core/test_links.py:18
↓ 4 callers
Function
_fx_trace_exc
The exact failure mode from issue #278's logs (message-based).
tests/test_compile_fallback.py:55
↓ 4 callers
Method
_gapped_segs
n segments, each separated by a > SPEAKER_GAP silence.
tests/test_segmentation.py:299
↓ 4 callers
Function
_generate
(client, pid, fake_engine, **extra)
tests/test_generate_ref_text_persist.py:140
↓ 4 callers
Function
_generation_src
()
tests/test_dropped_audio_reaches_the_user_1330.py:125
↓ 4 callers
Function
_generic_synth_recording
A generic backend + a recording ``_resolve_voice`` — returns (build, seen) where ``seen`` collects every profile id resolution was asked for.
tests/test_audiobook_cast.py:51
↓ 4 callers
Function
_harden_speechbrain_lazy_imports
Make speechbrain 1.x's lazy-import guard fire on Windows too (#630/#611/#647). speechbrain 1.x exposes optional integrations (``k2_fsa``, ``numba
backend/services/asr_backend.py:343
↓ 4 callers
Function
_ids
(payload: dict)
tests/test_setup_recommendations.py:31
↓ 4 callers
Method
_install_catalog_repo
Run the existing setup installer and pipe its hf_progress upstream.
backend/worker/transport/client.py:853
↓ 4 callers
Function
_iso
(minutes_after=0)
tests/test_release_preview_manifest_rebuild.py:46
↓ 4 callers
Function
_iter_chunks
Yield ≤ ~_CHUNK_SECONDS slices of (batch, channels, samples) audio along the time axis. A sub-second tail is folded into the previous chunk (A
backend/services/watermark.py:152
↓ 4 callers
Function
_kitten_backend_with_fake
()
tests/test_kitten_input_shape_1173.py:95
↓ 4 callers
Function
_legacy_managed_checkouts
App-owned predecessor checkouts retained during in-place upgrades.
backend/services/sidecar_install.py:189
↓ 4 callers
Method
_license_accepted
Read acknowledgement fail-closed at every construction path.
backend/engines/pockettts/__init__.py:76
↓ 4 callers
Function
_make_epub
Build a minimal EPUB: container.xml → content.opf (manifest+spine) → one XHTML per chapter.
tests/test_longform_import.py:98
↓ 4 callers
Function
_make_fake_engine
(engine_id="fake-reftext-engine")
tests/test_generate_ref_text_persist.py:35
↓ 4 callers
Function
_mapping_get
(mapping: Mapping[str, str] | object, name: str)
backend/core/auth.py:121
↓ 4 callers
Function
_mask_hf_tokens
Return ``value`` with any HF-shaped token substring redacted. Non-string values pass through unchanged. Used inside :func:`list_backends` for
backend/services/tts_backend.py:49
↓ 4 callers
Method
_maybe_finish_drain
(self)
backend/worker/transport/client.py:814
↓ 4 callers
Function
_mock_chain
Wire cinematic_refine_sync to a mocked 2-step REFLECT→ADAPT chain.
tests/test_translator.py:123
↓ 4 callers
Function
_normalise_listener_host
Return the bare identity gRPC and X.509 expect for an IP literal.
backend/worker/inbound/service.py:58
↓ 4 callers
Method
_on_registered
( self, worker_id_path: str, *, manifest_path: str, token_hash_path: s
backend/worker/agent.py:1066
↓ 4 callers
Function
_open
(req: request.Request, timeout: float = 300.0)
backend/speech_client/__main__.py:60
↓ 4 callers
Function
_patch_probe_to_use_pythonpath
Wrap ``_venv_can_import_indextts`` so it runs with PYTHONPATH set. The venv python is a symlink to the system python (so the stub indextts is
tests/backend/services/test_indextts_backward_compat.py:83
↓ 4 callers
Method
_pick_device
()
backend/services/asr_backend.py:514
↓ 4 callers
Function
_plane
(control_plane=None)
backend/services/gpu_gateway.py:923
↓ 4 callers
Function
_platform_key
()
backend/services/media_tools.py:129
↓ 4 callers
Function
_preview_key
(a: dict)
backend/api/routers/archetypes.py:67
↓ 4 callers
Function
_probe
Run the JavaScript preflight against injected platform probe results.
tests/test_desktop_runtime_preflight.py:12
↓ 4 callers
Function
_probe_with
(modules)
tests/test_device_override.py:41
↓ 4 callers
Function
_profile_fields
(item: dict)
backend/api/routers/community.py:661
↓ 4 callers
Function
_profile_names
(path)
tests/test_db_migration_safety.py:50
↓ 4 callers
Function
_profile_ref_text
(pid)
tests/test_generate_ref_text_persist.py:104
↓ 4 callers
Function
_public_longform_stream
Keep generator diagnostics local if setup fails before its own guard.
backend/api/routers/audiobook.py:1124
↓ 4 callers
Function
_ram
(monkeypatch, gb)
tests/test_unified_memory_offload.py:40
↓ 4 callers
Method
_read_loop
(self, session: _Session, request_iterator)
backend/worker/transport/server.py:1764
↓ 4 callers
Function
_record_sleeps
Patch ``time.sleep`` and return only the waits THIS thread asked for. ``translator`` does a plain ``import time``, so ``tr.time`` is the stdlib
tests/test_translator.py:309
↓ 4 callers
Function
_release_input_cache_path
(path: str, *, fetching: bool = False)
backend/worker/executor.py:905
↓ 4 callers
Method
_release_slot
Return one attempt's slot to its worker, at most once. ``in_flight`` is the record of whether this attempt still holds a slot, and ev
backend/worker/scheduler.py:1259
↓ 4 callers
Method
_remove_session_locked
(self, session_hash: str)
backend/services/admin_sessions.py:202
↓ 4 callers
Method
_remove_ticket_locked
(self, ticket_hash: str)
backend/services/admin_sessions.py:191
↓ 4 callers
Function
_repo_root
()
tests/test_pronunciation_api.py:22
↓ 4 callers
Method
_reserve_artifact_capacity
Reserve retained-result capacity before accepting any new bytes.
backend/worker/transport/server.py:3201
↓ 4 callers
Function
_row_to_task
(row, attempts: list[Attempt])
backend/worker/task_store.py:81
↓ 4 callers
Function
_run
(spec)
tests/test_sidecar_install.py:104
↓ 4 callers
Function
_run
(coro)
tests/test_shutdown_preload_race_1000.py:32
↓ 4 callers
Function
_run
(coro)
tests/test_mm2_lifecycle.py:23
↓ 4 callers
Function
_run_alembic
(direction, db_path, target="head")
tests/test_generation_takes.py:37
↓ 4 callers
Function
_safe_exc_text
``f"{type(e).__name__}: {e}"`` — the house style used for unrecognized-error formatting throughout the backend (grep ``type(e).__name__`` in s
backend/api/routers/generation.py:250
↓ 4 callers
Function
_safe_validation_input
Render a pydantic error's ``input`` as something JSON-encodable. FastAPI's default handler runs ``jsonable_encoder(exc.errors())``, and for a
backend/main.py:1266
↓ 4 callers
Function
_sanitize_audio
Replace non-finite samples (NaN / ±inf) with silence so a model glitch can't produce an unreadable WAV (#629). Returns the input unchanged when it
backend/api/routers/generation.py:186
↓ 4 callers
Function
_scenario
()
tests/test_shutdown_preload_race_1000.py:50
↓ 4 callers
Function
_seg_path
(tmp_path, text, **kw)
tests/test_longform_segment_cache.py:50
↓ 4 callers
Function
_segmented_enabled
IDM-style multi-connection accelerator (FDL-09), default **ON**. The app forces the legacy-LFS path (HF_HUB_DISABLE_XET=1) for clear progress, but
backend/api/routers/setup/download.py:156
↓ 4 callers
Function
_segs
(*spans)
tests/test_assign_speakers_from_diarization.py:30
↓ 4 callers
Function
_send
(payload)
backend/api/routers/capture_ws.py:798
↓ 4 callers
Function
_send
(stream, obj: dict)
backend/engines/pockettts/main.py:106
↓ 4 callers
Function
_send
(stream, obj: dict)
backend/engines/omnivoice_subprocess/main.py:63
↓ 4 callers
Function
_send
(stream, obj: dict)
backend/engines/indextts/main.py:130
↓ 4 callers
Method
_send
Length-prefixed JSON over the sidecar's stdin. Caller holds lock.
backend/services/subprocess_backend.py:728
↓ 4 callers
Function
_server_view
What dub_generate hashes: pydantic-parsed segment, defaults filled.
tests/test_redub_incremental.py:42
↓ 4 callers
Method
_session_is_current
(self, session: _Session)
backend/worker/transport/server.py:1811
↓ 4 callers
Function
_set_loading
Update the loading detail dict atomically.
backend/services/model_manager.py:1785
↓ 4 callers
Function
_set_op
(op: str, **fields)
backend/services/media_tools.py:117
↓ 4 callers
Function
_set_setting
(name: str, value: str)
backend/worker/inbound/service.py:88
↓ 4 callers
Method
_set_state
(self, new: TaskState, *, now: Optional[float] = None)
backend/worker/lifecycle.py:360
↓ 4 callers
Function
_setting
(name: str, default: str = "")
backend/worker/inbound/service.py:79
↓ 4 callers
Method
_signal_owned_group
(self, sig: int)
backend/core/contained_subprocess.py:157
↓ 4 callers
Function
_spawn_with_retry
Spawn a subprocess, retrying briefly on EAGAIN (posix_spawn resource pressure).
backend/services/ffmpeg_utils.py:456
↓ 4 callers
Function
_stage_types
(chain)
tests/test_mastering_no_hidden_reverb.py:29
← previous
next →
1,001–1,100 of 15,058, ranked by callers