Repository Analysis

pnnbao97/VieNeu-TTS

Vietnamese TTS with instant voice cloning • On-device • Real-time CPU inference • 24kHz audio quality • Chuyển văn bản thành giọng nói tiếng Việt • Text to speech tiếng Việt • TTS tiếng Việt

16.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of pnnbao97/VieNeu-TTS, a Python project with 2,159 GitHub stars. SynthScan v2.0 examined 30,441 lines of code across 88 source files, recording 298 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 16.5 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

16.5
Adjusted Score
16.5
Raw Score
100%
Time Factor
2026-07-13
Last Push
2.2K
Stars
Python
Language
30.4K
Lines of Code
88
Files
298
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 1MEDIUM 86LOW 211

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 298 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators80 hits · 273 pts
SeverityFileLineSnippetContext
MEDIUMdocker/docker-compose.build.yml2 # ========================================================COMMENT
MEDIUMdocker/docker-compose.build.yml4 # ========================================================COMMENT
MEDIUMdocker/docker-compose.yml18 # ========================================================COMMENT
MEDIUMdocker/docker-compose.yml20 # ========================================================COMMENT
MEDIUMdocker/docker-compose.yml52 # ========================================================COMMENT
MEDIUMdocker/docker-compose.yml54 # ========================================================COMMENT
MEDIUMdocker/docker-compose.prod.yml2 # ========================================================COMMENT
MEDIUMdocker/docker-compose.prod.yml4 # ========================================================COMMENT
MEDIUMexamples/main_remote.py12 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py14 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py23 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py25 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py40 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py42 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py52 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py54 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py73 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py75 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py86 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py88 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py105 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py107 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py127 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py129 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py176 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main_remote.py178 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py16 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py18 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py27 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py29 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py39 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py41 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py57 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py59 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py69 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py71 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py87 # ---------------------------------------------------------COMMENT
MEDIUMexamples/main.py89 # ---------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py8# ─── Regex ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py36# ─── Data class ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py43# ─── Audio utils ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py103# ─── v1: split raw text ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py206# ─── v2 helpers ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py305# ─── v2: split phoneme string ────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/core_utils.py372# ─── Misc ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py19# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py78# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py385# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu_utils/phonemize_text.py387# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/vieneu/v3turbo.py99 # ── Preset voices (speaker embedding + reference codes) ─────────────────────COMMENT
MEDIUMsrc/vieneu/v3turbo.py237 # ── Batched inference (GPU/PyTorch) ──────────────────────────────────────COMMENT
MEDIUMsrc/vieneu/v3turbo.py294 # ── Public API ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py169 # ── Speaker encoder + denoiser (voice cloning), from repo root ──────────COMMENT
MEDIUMsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py175 # ── artifact helpers ──────────────────────────────────────────────────────COMMENT
20 more matches not shown…
Excessive Try-Catch Wrapping73 hits · 77 pts
SeverityFileLineSnippetContext
LOWfinetune/train.py87 except Exception as e:CODE
LOWfinetune/data_scripts/encode_data.py83 except Exception as e:CODE
LOWfinetune/data_scripts/filter_data.py70 except Exception:CODE
LOWfinetune/data_scripts/get_hf_sample.py54 except Exception as e:CODE
LOWexamples/main_remote.py36 except Exception as e:CODE
LOWexamples/main_remote.py173 except Exception as e:CODE
LOWapps/web_stream.py73 except Exception as e: # noqa: BLE001CODE
MEDIUMapps/web_stream.py62def voices():CODE
LOWapps/ui_utils.py132 except Exception:CODE
LOWapps/gradio_xpu.py64except Exception as e:CODE
LOWapps/gradio_xpu.py214 except Exception as e:CODE
LOWapps/gradio_xpu.py226 except Exception:CODE
LOWapps/gradio_xpu.py274 except Exception as e:CODE
LOWapps/gradio_xpu.py337 except Exception as e:CODE
LOWapps/gradio_xpu.py431 except Exception as e:CODE
LOWapps/gradio_xpu.py471 except Exception as e:CODE
LOWapps/gradio_xpu.py538 except Exception as e:CODE
LOWapps/gradio_main.py7 except Exception:CODE
LOWapps/gradio_main.py61except Exception as e:CODE
LOWapps/gradio_main.py442 except Exception as e:CODE
LOWapps/gradio_main.py461 except Exception as e:CODE
LOWapps/gradio_main.py489 except Exception as e:CODE
LOWapps/gradio_main.py642 except Exception as e:CODE
LOWapps/gradio_main.py685 except Exception:CODE
LOWapps/gradio_main.py768 except Exception as e:CODE
LOWapps/gradio_main.py902 except Exception as e:CODE
LOWapps/gradio_main.py984 except Exception as e:CODE
LOWapps/gradio_main.py1151 except Exception as e:CODE
LOWapps/gradio_main.py1263 except Exception as e:CODE
LOWapps/gradio_main.py1364 except Exception:CODE
LOWapps/gradio_main.py1390 except Exception as e:CODE
LOWapps/gradio_main.py1584 except Exception as e:CODE
LOWapps/gradio_main.py1602 except Exception as e:CODE
LOWapps/gradio_main.py1631 except Exception as e:CODE
LOWapps/gradio_main.py1648 except Exception as e:CODE
LOWapps/gradio_main.py1738 except Exception as e:CODE
LOWsrc/vieneu_utils/url_extract.py21 except Exception:CODE
LOWsrc/vieneu_utils/url_extract.py27 except Exception as e:CODE
LOWsrc/vieneu/remote.py85 except Exception as e:CODE
LOWsrc/vieneu/remote.py163 except Exception as e:CODE
LOWsrc/vieneu/remote.py254 except Exception as e:CODE
LOWsrc/vieneu/standard.py69 except Exception as e:CODE
LOWsrc/vieneu/standard.py92 except Exception as e:CODE
LOWsrc/vieneu/standard.py140 except Exception as e:CODE
LOWsrc/vieneu/standard.py171 except Exception as e:CODE
LOWsrc/vieneu/standard.py192 except Exception as e:CODE
LOWsrc/vieneu/serve.py23 except Exception:CODE
MEDIUMsrc/vieneu/serve.py20def get_public_ip() -> str:CODE
LOWsrc/vieneu/turbo.py54 except Exception:CODE
LOWsrc/vieneu/fast.py104 except Exception as e:CODE
LOWsrc/vieneu/factory.py38 except Exception as e:CODE
LOWsrc/vieneu/core_xpu.py137 except Exception:CODE
LOWsrc/vieneu/utils.py103 except Exception as e:CODE
LOWsrc/vieneu/v3turbo.py58 except Exception:CODE
LOWsrc/vieneu/base.py79 except Exception as e:CODE
LOWsrc/vieneu/base.py154 except Exception as e:CODE
LOWsrc/vieneu/base.py185 except Exception as e:CODE
LOWsrc/vieneu/base.py199 except Exception:CODE
LOWsrc/vieneu/base.py211 except Exception:CODE
LOWsrc/vieneu/base.py366 except Exception:CODE
13 more matches not shown…
Unused Imports53 hits · 50 pts
SeverityFileLineSnippetContext
LOWtests/test_utils.py2CODE
LOWtests/test_engine_remote.py3CODE
LOWtests/test_factory.py1CODE
LOWtests/test_engine_standard.py7CODE
LOWfinetune/merge_lora.py1CODE
LOWfinetune/train.py5CODE
LOWfinetune/create_voices_json.py14CODE
LOWfinetune/data_scripts/get_hf_sample.py2CODE
LOWapps/gradio_xpu.py22CODE
LOWapps/gradio_xpu.py25CODE
LOWapps/gradio_xpu.py29CODE
LOWapps/gradio_xpu.py29CODE
LOWapps/gradio_main.py22CODE
LOWapps/gradio_main.py24CODE
LOWapps/gradio_main.py27CODE
LOWapps/gradio_main.py37CODE
LOWapps/gradio_main.py37CODE
LOWsrc/vieneu/remote.py10CODE
LOWsrc/vieneu/standard.py9CODE
LOWsrc/vieneu/__init__.py1CODE
LOWsrc/vieneu/serve.py2CODE
LOWsrc/vieneu/turbo.py4CODE
LOWsrc/vieneu/turbo.py11CODE
LOWsrc/vieneu/fast.py9CODE
LOWsrc/vieneu/core_xpu.py2CODE
LOWsrc/vieneu/core_xpu.py5CODE
LOWsrc/vieneu/utils.py86CODE
LOWsrc/vieneu/_v3_turbo_engine/hub_load_v3_turbo.py1CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_denoiser.py22CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py24CODE
LOWsrc/vieneu/_v3_turbo_engine/modeling_v3_turbo.py22CODE
LOWsrc/vieneu/_v3_turbo_engine/configuration_v3_turbo.py2CODE
LOWsrc/vieneu/_v3_turbo_engine/prompt_v3_turbo.py1CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py21CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py31CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py31CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/onnx_extractor.py12CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/fbank.py1CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py8CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py8CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py9CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py9CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py9CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/audio_utils.py2CODE
LOWsrc/vieneu/v3_turbo_serve/batched_acoustic.py13CODE
LOWsrc/vieneu/v3_turbo_serve/batched_backbone.py13CODE
LOWsrc/vieneu/v3_turbo_serve/batched_backbone.py15CODE
LOWsrc/vieneu/v3_turbo_serve/__init__.py5CODE
LOWsrc/vieneu/v3_turbo_serve/__init__.py6CODE
LOWsrc/vieneu/v3_turbo_serve/__init__.py7CODE
LOWsrc/vieneu/v3_turbo_serve/cudagraph.py13CODE
LOWsrc/vieneu/v3_turbo_serve/engine.py13CODE
LOWsrc/vieneu/v3_turbo_serve/engine.py16CODE
Hyper-Verbose Identifiers27 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/test_utils.py8def test_split_text_into_chunks():CODE
LOWtests/test_utils.py15def test_split_text_paragraphs():CODE
LOWtests/test_utils.py40def test_linear_overlap_add_empty():CODE
LOWtests/test_utils.py43def test_join_audio_chunks_simple():CODE
LOWtests/test_utils.py50def test_join_audio_chunks_silence():CODE
LOWtests/test_utils.py58def test_join_audio_chunks_crossfade():CODE
LOWtests/test_utils.py70def test_join_audio_chunks_empty():CODE
LOWtests/test_utils.py73def test_join_audio_chunks_single():CODE
LOWtests/test_engine_remote.py21def test_remote_format_prompt(remote_tts):CODE
LOWtests/test_engine_remote.py34def test_remote_infer_single_chunk(mock_post, remote_tts):CODE
LOWtests/test_engine_remote.py46async def test_remote_infer_async_chunk(remote_tts):CODE
LOWtests/test_factory.py50def test_factory_invalid_mode():CODE
LOWtests/test_engine_standard.py71def test_vieneu_tts_infer_with_voice_preset(mock_tts_instance):CODE
LOWtests/test_engine_standard.py77def test_vieneu_tts_infer_batch(mock_tts_instance):CODE
LOWtests/test_engine_standard.py100def test_vieneu_tts_gguf_init(mock_warmup, mock_codec, mock_llama):CODE
LOWtests/test_engine_standard.py108def test_base_encode_reference_device(mock_tts_instance):CODE
LOWtests/test_engine_turbo.py62def test_turbo_gpu_standard_init(mock_model, mock_tokenizer, mock_hf, mock_ort):CODE
LOWtests/test_engine_turbo.py77def test_turbo_gpu_lmdeploy_init(mock_pipeline, mock_hf, mock_ort):CODE
LOWtests/test_engine_turbo.py121def test_turbo_voice_cloning_encode(mock_hf, mock_llama, mock_ort, mock_onnx_session):CODE
LOWtests/test_engine_turbo.py135def test_turbo_array_truth_value_fix(mock_hf, mock_llama, mock_ort, mock_onnx_session, mock_llama_instance):CODE
LOWtests/test_base_utils.py53 def test_base_streaming_config(self):CODE
LOWfinetune/data_scripts/filter_data.py19def filter_and_process_dataset(dataset_dir="finetune/dataset"):CODE
LOWapps/gradio_main.py1326def synthesize_conversation_with_empty_estimate(*args):CODE
LOWapps/gradio_main.py1653def extract_speakers_from_script(script):CODE
LOWsrc/vieneu_utils/core_utils.py172def split_text_into_chunks_with_gaps(CODE
LOWsrc/vieneu_utils/phonemize_text.py122def phonemize_text_with_emotions(text: str) -> str:CODE
LOWsrc/vieneu/utils.py75def _compile_codec_with_triton(codec: Any) -> bool:CODE
AI Structural Patterns26 hits · 25 pts
SeverityFileLineSnippetContext
LOWsrc/vieneu/remote.py52CODE
LOWsrc/vieneu/remote.py100CODE
LOWsrc/vieneu/remote.py180CODE
LOWsrc/vieneu/remote.py209CODE
LOWsrc/vieneu/remote.py258CODE
LOWsrc/vieneu/standard.py196CODE
LOWsrc/vieneu/standard.py233CODE
LOWsrc/vieneu/standard.py291CODE
LOWsrc/vieneu/turbo.py118CODE
LOWsrc/vieneu/turbo.py190CODE
LOWsrc/vieneu/turbo.py277CODE
LOWsrc/vieneu/turbo.py316CODE
LOWsrc/vieneu/fast.py20CODE
LOWsrc/vieneu/fast.py127CODE
LOWsrc/vieneu/fast.py155CODE
LOWsrc/vieneu/fast.py187CODE
LOWsrc/vieneu/core_xpu.py140CODE
LOWsrc/vieneu/v3turbo.py30CODE
LOWsrc/vieneu/v3turbo.py295CODE
LOWsrc/vieneu/v3turbo.py337CODE
LOWsrc/vieneu/v3turbo.py381CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py369CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py447CODE
LOWsrc/vieneu/_v3_turbo_engine/configuration_v3_turbo.py17CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py144CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py157CODE
Deep Nesting22 hits · 19 pts
SeverityFileLineSnippetContext
LOWapps/ui_utils.py63CODE
LOWapps/ui_utils.py64CODE
LOWapps/gradio_xpu.py122CODE
LOWapps/gradio_xpu.py291CODE
LOWapps/gradio_xpu.py489CODE
LOWapps/gradio_main.py260CODE
LOWapps/gradio_main.py826CODE
LOWapps/gradio_main.py1337CODE
LOWapps/gradio_main.py1473CODE
LOWapps/gradio_main.py1190CODE
LOWsrc/vieneu_utils/core_utils.py56CODE
LOWsrc/vieneu_utils/core_utils.py105CODE
LOWsrc/vieneu_utils/core_utils.py219CODE
LOWsrc/vieneu_utils/phonemize_text.py285CODE
LOWsrc/vieneu/remote.py109CODE
LOWsrc/vieneu/standard.py72CODE
LOWsrc/vieneu/serve.py26CODE
LOWsrc/vieneu/v3turbo.py337CODE
LOWsrc/vieneu/base.py307CODE
LOWsrc/vieneu/_v3_turbo_engine/onnx_runtime_lite.py447CODE
LOWsrc/vieneu/_v3_turbo_engine/inference_v3_turbo.py212CODE
LOWsrc/vieneu/v3_turbo_serve/engine.py58CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/vieneu/utils.py133 # Default to CPU for now as requested for 'lightweight'COMMENT
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWREADME_PYPI.md61# List the built-in voicesCOMMENT
LOWREADME_PYPI.md81# "Chào cả nhà, hôm nay mình sẽ hướng dẫn các bạn cách cài đặt và sử dụng bộ giọng đọc mới.",COMMENT
LOWREADME.md161# or infer_batch(..., batch_size=64), or batch_size=1 to disable). A single longCOMMENT
LOWREADME.vi.md141# tắt). Một infer() cho text dài cũng tự batch các chunk. Bỏ comment để thử (nên dùng GPU):COMMENT
LOWexamples/main_v3turbo.py21# audio = vieneu.infer("Nghe hay quá đi [cười]. Để mình nói tiếp [hắng giọng].", voice="Ngọc Linh")COMMENT
LOWsrc/vieneu_utils/phonemize_text.py21# ---------------------------------------------------------------------------COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMapps/gradio_main.py1526 # Use lowercase key for robust matchingCOMMENT
MEDIUMsrc/vieneu/standard.py251 # If model is Torch, we can leverage true batch generationCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWapps/gradio_main.py305 # Check if it is a LoRA to mergeCOMMENT
LOWapps/gradio_main.py390 # Check if already merged (and voices.json exists)COMMENT
LOWapps/gradio_main.py630 # Check if backbone matches expected type for mergeCOMMENT
LOWsrc/vieneu/serve.py109 # Check if lmdeploy is installedCOMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/vieneu/__init__.py3__all__ = ["Vieneu"]CODE
LOWsrc/vieneu/_v3_turbo_engine/__init__.py8__all__ = [CODE
LOWsrc/vieneu/_v3_turbo_engine/speaker/__init__.py15__all__ = [CODE
LOWsrc/vieneu/v3_turbo_serve/__init__.py9__all__ = ["generate_frame_batched", "BatchedBackbone", "V3TurboBatchEngine"]CODE