Generate audiobooks from e-books, voice cloning & 1158+ languages!
This report presents the forensic synthetic code analysis of DrewThomasson/ebook2audiobook, a Python project with 19,517 GitHub stars. SynthScan v2.0 examined 117,878 lines of code across 514 source files, recording 1353 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 13.9 places this repository in the Low 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).
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.
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.
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.
The scanner identified 1353 distinct pattern matches across 18 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | detect_gpus.py | 29 | except Exception as e: | CODE |
| LOW | app.py | 339 | except Exception: | CODE |
| LOW | app.py | 350 | except Exception: | CODE |
| LOW | app.py | 398 | except Exception as e: | CODE |
| LOW | app.py | 492 | except Exception as e: | CODE |
| LOW | tools/icons/generate-icons.py | 61 | except Exception as e: | CODE |
| LOW | tools/icons/generate-icons.py | 86 | except Exception as e: | CODE |
| LOW⚡ | tools/icons/generate-icons.py | 139 | except Exception as e: | CODE |
| LOW⚡ | tools/icons/generate-icons.py | 145 | except Exception as e: | CODE |
| LOW⚡ | tools/icons/generate-icons.py | 149 | except Exception as e: | CODE |
| LOW | tools/icons/generate-icons.py | 165 | except Exception as e: | CODE |
| MEDIUM | tools/icons/generate-icons.py | 37 | def resize_image(source_path, output_dir, sizes): | CODE |
| MEDIUM | tools/icons/generate-icons.py | 65 | def create_windows_ico(output_dir): | CODE |
| LOW | tools/readme_i18n/update_translations.py | 113 | except Exception as e: | CODE |
| LOW | ext/py/demucs/demucs/apply.py | 291 | except Exception: | CODE |
| LOW | components/E2A-SML/web_gui.py | 111 | except Exception as e: | CODE |
| MEDIUM⚡ | components/E2A-SML/cli.py | 161 | print(f"Error: {msg}") | CODE |
| MEDIUM⚡ | components/E2A-SML/cli.py | 234 | print("Error: No token data or book.txt found in BookNLP output. Cannot generate SML.") | CODE |
| MEDIUM | components/E2A-SML/cli.py | 179 | print("Error: Could not determine book_id. Use --book-id.") | CODE |
| MEDIUM | components/E2A-SML/cli.py | 185 | print(f"Error: Input file not found: {input_file}") | CODE |
| MEDIUM | components/E2A-SML/cli.py | 282 | print(f"Error: Could not launch GUI. Make sure gradio is installed: {e}") | CODE |
| LOW | components/E2A-SML/booknlp/english/english_booknlp.py | 373 | except Exception as e: | CODE |
| LOW | components/E2A-SML/booknlp/english/english_booknlp.py | 425 | except Exception as e: | CODE |
| LOW | components/Universal_TTS_Finetune/headless_cli.py | 354 | except Exception as e: | CODE |
| MEDIUM | components/Universal_TTS_Finetune/export_checkpoint.py | 20 | print(f"Error: Run directory {run_dir} does not exist.") | CODE |
| MEDIUM | components/Universal_TTS_Finetune/export_checkpoint.py | 37 | print(f"Error: config.json not found under {preprocessed_dir}") | CODE |
| MEDIUM | components/Universal_TTS_Finetune/export_checkpoint.py | 46 | print(f"Error: No .ckpt file found in {run_dir}") | CODE |
| LOW⚡ | components/Universal_TTS_Finetune/export_checkpoint.py | 88 | except Exception as e: | CODE |
| MEDIUM⚡ | components/Universal_TTS_Finetune/export_checkpoint.py | 89 | print(f"Error finalizing Coqui artifacts: {e}") | CODE |
| MEDIUM⚡ | components/Universal_TTS_Finetune/export_checkpoint.py | 92 | print("Error: Could not find any .ckpt or .pth files to export.") | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 290 | print(f"Error resolving resume checkpoint: {e}") | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 320 | def preprocess_dataset( | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 408 | def preprocess_re_diarize(dataset_dir, expected_speakers, diarize_threshold, out | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 470 | def run_training(model_key, dataset_dir, language, num_epochs, batch_size, grad_ | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 511 | def locate_artifacts(out_path, model_key): | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 532 | def inspect_artifacts(artifacts_path, model_key): | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 548 | def run_inference(artifacts_path, model_key, language, tts_text, speaker_audio_f | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 567 | def on_model_change(selected_model): | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 600 | def update_training_options(model_key, language, use_pretrained): | CODE |
| MEDIUM | components/Universal_TTS_Finetune/web_gui.py | 681 | def preprocess_and_train( | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 166 | except Exception: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 192 | except Exception: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 213 | except Exception: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 289 | except Exception as e: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 315 | except Exception: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 399 | except Exception as exc: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 461 | except Exception as exc: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 507 | except Exception as exc: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 528 | except Exception as exc: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 544 | except Exception as exc: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 563 | except Exception as exc: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 572 | except Exception: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 607 | except Exception as exc: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 632 | except Exception: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 656 | except Exception as e: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 728 | except Exception as exc: | CODE |
| LOW | components/Universal_TTS_Finetune/test_speaker.py | 9 | except Exception as e: | CODE |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 74 | except Exception as e: | CODE |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 88 | except Exception as e: | CODE |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 250 | except Exception: | CODE |
| 276 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | uninstall.sh | 12 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 14 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 20 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 22 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 46 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 48 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 57 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 59 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 69 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 71 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 84 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 86 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 95 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 97 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 103 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 105 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 132 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 134 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 142 | # ========================================================= | COMMENT |
| MEDIUM⚡ | uninstall.sh | 144 | # ========================================================= | COMMENT |
| MEDIUM | uninstall.sh | 170 | # ========================================================= | COMMENT |
| MEDIUM | uninstall.sh | 172 | # ========================================================= | COMMENT |
| MEDIUM | app.py | 359 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | ext/py/num2words/num2words/lang_IT.py | 54 | # ========== | COMMENT |
| MEDIUM | components/sitecustomize.py | 30 | # ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | components/sitecustomize.py | 33 | # ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | components/sitecustomize.py | 44 | # ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | components/sitecustomize.py | 46 | # ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | components/sitecustomize.py | 117 | # ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | components/sitecustomize.py | 119 | # ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …l_TTS_Finetune/piper/piper_train/export_torchscript.py | 33 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …l_TTS_Finetune/piper/piper_train/export_torchscript.py | 75 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …Universal_TTS_Finetune/piper/piper_train/preprocess.py | 276 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …Universal_TTS_Finetune/piper/piper_train/preprocess.py | 390 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …Universal_TTS_Finetune/piper/piper_train/preprocess.py | 492 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …Universal_TTS_Finetune/piper/piper_train/preprocess.py | 507 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ersal_TTS_Finetune/piper/piper_train/check_phonemes.py | 54 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …TS_Finetune/piper/piper_train/export_onnx_streaming.py | 92 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …TS_Finetune/piper/piper_train/export_onnx_streaming.py | 193 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sal_TTS_Finetune/piper/piper_train/voice_conversion.py | 44 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sal_TTS_Finetune/piper/piper_train/voice_conversion.py | 108 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …niversal_TTS_Finetune/piper/piper_train/export_onnx.py | 42 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …niversal_TTS_Finetune/piper/piper_train/export_onnx.py | 113 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sal_TTS_Finetune/piper/piper_train/export_generator.py | 31 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …sal_TTS_Finetune/piper/piper_train/export_generator.py | 53 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/Universal_TTS_Finetune/piper/piper_train/__main__.py | 192 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …onents/Universal_TTS_Finetune/piper/piper/file_hash.py | 21 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 38 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 40 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 47 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 49 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 55 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 57 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/conf.py | 119 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/conf.py | 121 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/conf.py | 134 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | lib/conf.py | 136 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 184 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 186 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lib/conf.py | 191 | # --------------------------------------------------------------------- | COMMENT |
| 23 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app.py | 5 | CODE | |
| LOW | ext/py/demucs/hubconf.py | 10 | CODE | |
| LOW | ext/py/demucs/demucs/pretrained.py | 16 | CODE | |
| LOW | ext/py/demucs/demucs/repitch.py | 12 | CODE | |
| LOW | ext/py/demucs/demucs/api.py | 25 | CODE | |
| LOW | ext/py/demucs/demucs/wav.py | 18 | CODE | |
| LOW | ext/py/demucs/demucs/train.py | 18 | CODE | |
| LOW | ext/py/demucs/demucs/audio.py | 13 | CODE | |
| LOW | ext/py/num2words/num2words/lang_LT.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_SR.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_HU.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_HU.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_HU.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES_NI.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES_NI.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_UK.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_HI.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ZH.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ZH.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ZH.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_FR.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_FR.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_NL.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_NL.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CS.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_EN.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_EN.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_EN.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_SV.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_SV.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_SV.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES_CR.py | 19 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES_CR.py | 19 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TR.py | 19 | CODE | |
| LOW | ext/py/num2words/num2words/lang_RO.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_RO.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_RO.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_EO.py | 17 | CODE | |
| LOW | ext/py/num2words/num2words/lang_EO.py | 17 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES_CO.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES_CO.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ZH_HK.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ZH_HK.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ZH_HK.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_SK.py | 17 | CODE | |
| LOW | ext/py/num2words/num2words/lang_IT.py | 17 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_FR_CH.py | 17 | CODE | |
| LOW | ext/py/num2words/num2words/lang_FR_CH.py | 17 | CODE | |
| LOW | ext/py/num2words/num2words/lang_BE.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CE.py | 17 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TE.py | 3 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CY.py | 17 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CA.py | 1 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CA.py | 1 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CA.py | 1 | CODE | |
| LOW | ext/py/num2words/num2words/lang_FR_DZ.py | 18 | CODE | |
| LOW | ext/py/num2words/num2words/lang_DE.py | 18 | CODE | |
| 295 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | detect_gpus.py | 8 | CODE | |
| LOW | app.py | 93 | CODE | |
| LOW | tools/icons/generate-icons.py | 91 | CODE | |
| LOW | tools/readme_i18n/update_translations.py | 206 | CODE | |
| LOW | tools/readme_i18n/update_translations.py | 240 | CODE | |
| LOW | ext/py/demucs/tools/automix.py | 280 | CODE | |
| LOW | ext/py/demucs/demucs/pretrained.py | 41 | CODE | |
| LOW | ext/py/demucs/demucs/solver.py | 103 | CODE | |
| LOW | ext/py/demucs/demucs/solver.py | 172 | CODE | |
| LOW | ext/py/demucs/demucs/solver.py | 291 | CODE | |
| LOW | ext/py/demucs/demucs/separate.py | 108 | CODE | |
| LOW | ext/py/demucs/demucs/svd.py | 31 | CODE | |
| LOW | ext/py/demucs/demucs/hdemucs.py | 195 | CODE | |
| LOW | ext/py/demucs/demucs/demucs.py | 34 | CODE | |
| LOW | ext/py/demucs/demucs/demucs.py | 438 | CODE | |
| LOW | ext/py/demucs/demucs/wav.py | 31 | CODE | |
| LOW | ext/py/demucs/demucs/audio.py | 144 | CODE | |
| LOW | ext/py/demucs/demucs/evaluate.py | 67 | CODE | |
| LOW | ext/py/demucs/demucs/apply.py | 145 | CODE | |
| LOW | ext/py/demucs/demucs/grids/_explorers.py | 38 | CODE | |
| LOW | ext/py/demucs/demucs/grids/mmi.py | 12 | CODE | |
| LOW | ext/py/demucs/demucs/grids/mmi_ft.py | 23 | CODE | |
| LOW | ext/py/num2words/num2words/lang_LT.py | 145 | CODE | |
| LOW | ext/py/num2words/num2words/lang_HU.py | 75 | CODE | |
| LOW | ext/py/num2words/num2words/lang_HU.py | 126 | CODE | |
| LOW | ext/py/num2words/num2words/lang_UK.py | 1000 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ZH.py | 70 | CODE | |
| LOW | ext/py/num2words/num2words/lang_EN.py | 58 | CODE | |
| LOW | ext/py/num2words/num2words/lang_SV.py | 68 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TR.py | 119 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TR.py | 486 | CODE | |
| LOW | ext/py/num2words/num2words/lang_RO.py | 69 | CODE | |
| LOW | ext/py/num2words/num2words/lang_SK.py | 124 | CODE | |
| LOW | ext/py/num2words/num2words/lang_IT.py | 143 | CODE | |
| LOW | ext/py/num2words/num2words/lang_IT.py | 160 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES.py | 274 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES.py | 305 | CODE | |
| LOW | ext/py/num2words/num2words/lang_AR.py | 173 | CODE | |
| LOW | ext/py/num2words/num2words/lang_AR.py | 250 | CODE | |
| LOW | ext/py/num2words/num2words/lang_BE.py | 217 | CODE | |
| LOW | ext/py/num2words/num2words/lang_BE.py | 312 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CE.py | 367 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TE.py | 143 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CY.py | 577 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CY.py | 247 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CY.py | 357 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CA.py | 374 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CA.py | 399 | CODE | |
| LOW | ext/py/num2words/num2words/lang_DE.py | 87 | CODE | |
| LOW | ext/py/num2words/num2words/lang_HY.py | 271 | CODE | |
| LOW | ext/py/num2words/num2words/lang_HE.py | 109 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TG.py | 114 | CODE | |
| LOW | ext/py/num2words/num2words/lang_JA.py | 45 | CODE | |
| LOW | ext/py/num2words/num2words/lang_JA.py | 427 | CODE | |
| LOW | ext/py/num2words/num2words/lang_AZ.py | 166 | CODE | |
| LOW | ext/py/num2words/num2words/lang_IS.py | 76 | CODE | |
| LOW | ext/py/num2words/num2words/lang_AM.py | 90 | CODE | |
| LOW | ext/py/num2words/num2words/lang_SL.py | 66 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TET.py | 72 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TET.py | 138 | CODE | |
| 197 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | app.py | 199 | {"book1.epub": "/voices/eng/adult/female/alice.wav", "/abs/path/book2.epub": null}''') | CODE |
| HIGH⚡ | lib/gradio.py | 3641 | let lastCue = null; | CODE |
| HIGH⚡ | lib/gradio.py | 3642 | let fade_timeout = null; | CODE |
| HIGH⚡ | lib/gradio.py | 3644 | if(gr_audiobook_player && gr_audiobook_sentence && gr_playback_time){ | CODE |
| HIGH⚡ | lib/gradio.py | 3649 | if(cue && cue !== lastCue){ | CODE |
| HIGH⚡ | lib/gradio.py | 3661 | fade_timeout = null; | CODE |
| HIGH⚡ | lib/gradio.py | 3664 | }else if(!cue && lastCue !== null){ | CODE |
| HIGH⚡ | lib/gradio.py | 3664 | }else if(!cue && lastCue !== null){ | CODE |
| HIGH⚡ | lib/gradio.py | 3665 | lastCue = null; | CODE |
| HIGH⚡ | lib/gradio.py | 3825 | if(start !== null && end !== null && textBuffer.length){ | CODE |
| HIGH⚡ | lib/gradio.py | 3826 | cues.push({ start, end, text: textBuffer.join("\n") }); | CODE |
| HIGH⚡ | lib/gradio.py | 3828 | start = end = null; | CODE |
| HIGH⚡ | lib/gradio.py | 3833 | let start = null, end = null; | CODE |
| HIGH | lib/gradio.py | 3067 | const gr_root = (window.gradioApp && window.gradioApp()) || document; | CODE |
| HIGH | lib/gradio.py | 3436 | let gr_root = (window.gradioApp && window.gradioApp()) || document; | CODE |
| HIGH | lib/gradio.py | 3453 | window.onElementAvailable = (selector, callback, { root = (window.gradioApp && window.gr | CODE |
| HIGH | lib/gradio.py | 3500 | gr_root = (window.gradioApp && window.gradioApp()) || document; | CODE |
| HIGH | lib/gradio.py | 3501 | gr_progress = (gr_root) ? gr_root.querySelector("#gr_progress") : undefined; | CODE |
| HIGH | lib/gradio.py | 3556 | if(saved === undefined || saved === null || saved === ""){ | CODE |
| HIGH | lib/gradio.py | 3597 | if(gr_voice_player_hidden && gr_voice_play){ | CODE |
| HIGH | lib/gradio.py | 3696 | lastCue = null; | CODE |
| HIGH | lib/gradio.py | 3770 | const gr_root = (window.gradioApp && window.gradioApp()) || document; | CODE |
| HIGH | lib/gradio.py | 3772 | const val = el?.value || el?.textContent || ""; | CODE |
| HIGH | lib/gradio.py | 3846 | textBuffer.push(line); | CODE |
| HIGH | lib/gradio.py | 3877 | return null; | CODE |
| HIGH | lib/gradio.py | 3920 | if(!msg || msg.senderId === tab_id){ | CODE |
| HIGH | lib/gradio.py | 3960 | window._original_fetch = window._original_fetch || originalFetch; | CODE |
| HIGH | lib/gradio.py | 3965 | if(value instanceof File && value.size > 0){ | CODE |
| HIGH | lib/gradio.py | 4012 | return null; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | podman-compose.yml | 1 | # podman-compose.yml — universal across cpu / cuda / rocm / xpu (+ jetson), | COMMENT |
| LOW | docker-compose.yml | 1 | # docker-compose.yml — universal across cpu / cuda / rocm / xpu (+ jetson), | COMMENT |
| LOW | ext/py/demucs/tools/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | ext/py/demucs/demucs/__init__.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | ext/py/demucs/demucs/wdemucs.py | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. | COMMENT |
| LOW | ext/py/num2words/setup.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_LT.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_SR.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_HU.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ES_NI.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_UK.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_HI.py | 1 | # -*- encoding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ZH.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_FR.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_NL.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_CS.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_EN.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_SV.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ES_CR.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_TR.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_RO.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/compat.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_EO.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ES_CO.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ZH_HK.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_SK.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_IT.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_BN.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ES.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_AR.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_FR_CH.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_BE.py | 1 | # Copyright (c) 2003, Taro Ogawa. All Rights Reserved. | COMMENT |
| LOW | ext/py/num2words/num2words/lang_CE.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_CY.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_CY.py | 21 | COMMENT | |
| LOW | ext/py/num2words/num2words/lang_CY.py | 41 | # e.g. "300" | COMMENT |
| LOW | ext/py/num2words/num2words/lang_CY.py | 501 | m.append((c, None)) | COMMENT |
| LOW | ext/py/num2words/num2words/lang_CY.py | 521 | # else: | COMMENT |
| LOW | ext/py/num2words/num2words/lang_FR_DZ.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_DE.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ES_VE.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_FA.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_DA.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_KZ.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_EN_NG.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_FR_BE.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_HY.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_HE.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_TG.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/utils.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_JA.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ID.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_AZ.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_KO.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_IS.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_AM.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_SL.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ZH_CN.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ext/py/num2words/num2words/lang_TET.py | 1 | # -*- coding: utf-8 -*-Num2Word_TET | COMMENT |
| 44 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/py/demucs/demucs/transformer.py | 73 | def create_sin_embedding_cape( | CODE |
| LOW | ext/py/demucs/demucs/transformer.py | 811 | def scaled_dot_product_attention(q, k, v, att_mask, dropout): | CODE |
| LOW | ext/py/num2words/num2words/lang_HI.py | 190 | def _convert_to_hindi_numerals(self, value): | CODE |
| LOW | ext/py/num2words/num2words/lang_IT.py | 213 | def exponent_length_to_string(exponent_length): | CODE |
| LOW | ext/py/num2words/num2words/lang_BN.py | 81 | def _is_smaller_than_max_number(self, number): | CODE |
| LOW | ext/py/num2words/num2words/lang_AR.py | 126 | def extract_integer_and_decimal_parts(self): | CODE |
| LOW⚡ | components/sitecustomize.py | 47 | def wrapped_check_torch_load_is_safe(*args: Any, **kwargs: Any) -> None: | CODE |
| LOW | …ents/E2A-SML/booknlp/common/sequence_layered_reader.py | 136 | def prepare_annotations_from_file(filename, tagset, labeled=True): | CODE |
| LOW | …ents/E2A-SML/booknlp/common/sequence_layered_reader.py | 147 | def prepare_annotations_from_folder(folder, tagset, labeled=True): | CODE |
| LOW | …ponents/E2A-SML/booknlp/english/speaker_attribution.py | 57 | def get_wp_position_for_all_tokens(self, words, doLowerCase=True): | CODE |
| LOW | …ts/E2A-SML/booknlp/english/gender_inference_model_1.py | 89 | def add_hyperparameters_to_counts(self, refs=None, entities=None, tokens=None): | CODE |
| LOW | components/E2A-SML/booknlp/english/tagger.py | 356 | def get_supersense_layer_transformation(tag_space, t): | CODE |
| LOW | components/E2A-SML/booknlp/english/name_coref.py | 287 | def cluster_identical_propers(self, entities, refs): | CODE |
| LOW | components/E2A-SML/booknlp/english/english_booknlp.py | 361 | def infer_age_category_with_scores(self, character_data): | CODE |
| LOW | components/E2A-SML/booknlp/english/english_booknlp.py | 559 | def generate_simplified_character_json(self, entities, assignments, genders, chardata, outFolder, idd): | CODE |
| LOW | components/E2A-SML/booknlp/english/english_booknlp.py | 707 | def generate_book_with_character_tags(self, tokens, quotes, attributed_quotations, entities, assignments, genders, char | CODE |
| LOW | components/E2A-SML/sml_extractor/core.py | 11 | def check_booknlp_installation() -> tuple[bool, str]: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 264 | def resolve_resume_checkpoint(artifacts_file_path: str) -> str: | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 595 | def on_training_params_change(model_key, dataset_dir): | CODE |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 1223 | def on_restore_dropdown_change(artifacts_path): | STRING |
| LOW | components/Universal_TTS_Finetune/utils/tokenizer.py | 248 | def expand_abbreviations_multilingual(text, lang="en"): | CODE |
| LOW | components/Universal_TTS_Finetune/utils/tokenizer.py | 456 | def expand_symbols_multilingual(text, lang="en"): | CODE |
| LOW | components/Universal_TTS_Finetune/utils/tokenizer.py | 548 | def expand_numbers_multilingual(text, lang="en"): | CODE |
| LOW | components/Universal_TTS_Finetune/utils/tokenizer.py | 697 | def test_expand_numbers_multilingual(): | CODE |
| LOW | components/Universal_TTS_Finetune/utils/tokenizer.py | 796 | def test_abbreviations_multilingual(): | CODE |
| LOW | components/Universal_TTS_Finetune/utils/tokenizer.py | 839 | def test_symbols_multilingual(): | CODE |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 364 | def _extract_transcribed_words(segments: Sequence[Any]) -> list[Any]: | CODE |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 412 | def _extract_speaker_embeddings_pyannote(entries: list[dict[str, Any]], progress: ProgressCallback = None) -> np.ndarray | CODE |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 448 | def align_audio_and_text_to_vtt( | CODE |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 1380 | def _optimize_xtts_checkpoint(source_path: Path, destination_path: Path) -> None: | CODE |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 1397 | def _finalize_training_artifacts( | CODE |
| LOW⚡ | components/Universal_TTS_Finetune/utils/piper_utils.py | 226 | def normalize_espeak_language(language_code: str) -> str: | CODE |
| LOW | components/Universal_TTS_Finetune/utils/piper_utils.py | 20 | def ensure_monotonic_align_compiled(): | CODE |
| LOW | components/Universal_TTS_Finetune/utils/piper_utils.py | 53 | def get_voices_json_languages() -> set[str]: | CODE |
| LOW | components/Universal_TTS_Finetune/utils/piper_utils.py | 181 | def download_piper_checkpoint(checkpoint_info: dict[str, str], progress_callback=None) -> tuple[Path, Path]: | CODE |
| LOW | components/Universal_TTS_Finetune/utils/piper_utils.py | 283 | def _check_and_generate_piper_sample( | CODE |
| LOW | …_TTS_Finetune/piper/piper_train/vits/mel_processing.py | 8 | def dynamic_range_compression_torch(x, C=1, clip_val=1e-5): | CODE |
| LOW | …_TTS_Finetune/piper/piper_train/vits/mel_processing.py | 17 | def dynamic_range_decompression_torch(x, C=1): | CODE |
| LOW | …_TTS_Finetune/piper/piper_train/vits/mel_processing.py | 31 | def spectral_de_normalize_torch(magnitudes): | CODE |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/transforms.py | 10 | def piecewise_rational_quadratic_transform( | CODE |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/transforms.py | 50 | def unconstrained_rational_quadratic_spline( | CODE |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/transforms.py | 101 | def rational_quadratic_spline( | CODE |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/attentions.py | 274 | def _matmul_with_relative_values(self, x, y): | CODE |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/attentions.py | 283 | def _matmul_with_relative_keys(self, x, y): | CODE |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/attentions.py | 311 | def _relative_position_to_absolute_position(self, x): | CODE |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/attentions.py | 333 | def _absolute_position_to_relative_position(self, x): | CODE |
| LOW | …iversal_TTS_Finetune/piper/piper_train/vits/commons.py | 100 | def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels): | CODE |
| LOW | lib/core.py | 2764 | def _generate_ffmpeg_metadata(part_chapters:list[tuple[str,str]], output_metadata_path:str, default_audio_proc_forma | STRING |
| LOW | lib/core.py | 3154 | def sanitize_meta_chapter_title(title:str, max_bytes:int=140)->str: | STRING |
| LOW | lib/core.py | 3160 | def strip_invalid_filename_characters(filename:str, max_bytes:int=200)->str: | STRING |
| LOW | lib/core.py | 3236 | def get_compatible_tts_engines(language:str)->list[str]: | STRING |
| LOW | lib/core.py | 3814 | def restore_session_from_data(data:dict, session:DictProxy, force:bool, filter_keys:bool)->None: | STRING |
| LOW⚡ | lib/gradio.py | 1213 | def _restore_audiobook_player(session_id:str, audiobook:str|None)->tuple: | STRING |
| LOW⚡ | lib/gradio.py | 1272 | def _change_gr_audiobook_list(session_id:str, selected:str|None)->dict: | STRING |
| LOW⚡ | lib/gradio.py | 1285 | def _update_gr_audiobook_player(session_id:str)->tuple: | STRING |
| LOW⚡ | lib/gradio.py | 1575 | def _click_gr_custom_model_del_btn(session_id:str, selected:str)->tuple: | STRING |
| LOW⚡ | lib/gradio.py | 1589 | def _click_gr_audiobook_del_btn(session_id:str, selected:str)->tuple: | STRING |
| LOW⚡ | lib/gradio.py | 1969 | def _change_gr_custom_model_list(session_id:str, selected:str|None)->tuple: | STRING |
| LOW⚡ | lib/gradio.py | 1984 | def _change_gr_tts_engine_list(session_id:str, engine:str)->tuple: | STRING |
| LOW⚡ | lib/gradio.py | 2036 | def _change_gr_output_format_list(session_id:str, val:str)->None: | STRING |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/py/demucs/demucs/htdemucs.py | 56 | CODE | |
| LOW | ext/py/demucs/demucs/svd.py | 31 | CODE | |
| LOW | ext/py/demucs/demucs/api.py | 55 | CODE | |
| LOW | ext/py/demucs/demucs/api.py | 125 | CODE | |
| LOW | ext/py/demucs/demucs/hdemucs.py | 66 | CODE | |
| LOW | ext/py/demucs/demucs/hdemucs.py | 70 | CODE | |
| LOW | ext/py/demucs/demucs/hdemucs.py | 257 | CODE | |
| LOW | ext/py/demucs/demucs/hdemucs.py | 366 | CODE | |
| LOW | ext/py/demucs/demucs/transformer.py | 272 | CODE | |
| LOW | ext/py/demucs/demucs/transformer.py | 381 | CODE | |
| LOW | ext/py/demucs/demucs/transformer.py | 527 | CODE | |
| LOW | ext/py/demucs/demucs/transformer.py | 726 | CODE | |
| LOW | ext/py/demucs/demucs/demucs.py | 93 | CODE | |
| LOW | ext/py/demucs/demucs/demucs.py | 221 | CODE | |
| LOW | ext/py/demucs/demucs/apply.py | 145 | CODE | |
| LOW | ext/py/num2words/num2words/lang_FR.py | 110 | CODE | |
| LOW | ext/py/num2words/num2words/lang_EO.py | 126 | CODE | |
| LOW | ext/py/num2words/num2words/lang_IT.py | 197 | CODE | |
| LOW | ext/py/num2words/num2words/lang_ES.py | 416 | CODE | |
| LOW | ext/py/num2words/num2words/lang_CA.py | 476 | CODE | |
| LOW | ext/py/num2words/num2words/lang_FR_DZ.py | 33 | CODE | |
| LOW | ext/py/num2words/num2words/lang_DE.py | 139 | CODE | |
| LOW | ext/py/num2words/num2words/lang_EN_NG.py | 37 | CODE | |
| LOW | ext/py/num2words/num2words/lang_AM.py | 124 | CODE | |
| LOW | ext/py/num2words/num2words/lang_TET.py | 201 | CODE | |
| LOW | ext/py/num2words/num2words/lang_PT.py | 241 | CODE | |
| LOW | ext/py/num2words/num2words/lang_NO.py | 122 | CODE | |
| LOW | …ts/E2A-SML/booknlp/english/gender_inference_model_1.py | 31 | CODE | |
| LOW | components/E2A-SML/booknlp/english/tagger.py | 16 | CODE | |
| LOW | …s/E2A-SML/booknlp/english/bert_coref_quote_pronouns.py | 109 | CODE | |
| LOW | …s/E2A-SML/booknlp/english/bert_coref_quote_pronouns.py | 250 | CODE | |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 585 | CODE | |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 1544 | CODE | |
| LOW | …TS_Finetune/piper/piper_train/export_onnx_streaming.py | 69 | CODE | |
| LOW | …_TTS_Finetune/piper/piper_train/vits/mel_processing.py | 28 | CODE | |
| LOW | …_TTS_Finetune/piper/piper_train/vits/mel_processing.py | 33 | CODE | |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/transforms.py | 101 | CODE | |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/attentions.py | 281 | CODE | |
| LOW | …rsal_TTS_Finetune/piper/piper_train/vits/attentions.py | 290 | CODE | |
| LOW | …ersal_TTS_Finetune/piper/piper_train/vits/lightning.py | 21 | CODE | |
| LOW | …_TTS_Finetune/piper/piper_train/norm_audio/__init__.py | 21 | CODE | |
| LOW | …ersal_TTS_Finetune/piper/piper_train/norm_audio/vad.py | 54 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | e2a.sh | 1027 | # Check if running in a Conda or Python virtual environment | COMMENT |
| LOW | app.py | 260 | # Check if the port is already in use to prevent multiple launches | COMMENT |
| LOW | ebook2audiobook.sh | 1027 | # Check if running in a Conda or Python virtual environment | COMMENT |
| LOW | ext/py/num2words/num2words/lang_ZH.py | 277 | # Check if reading is provided | COMMENT |
| LOW | components/E2A-SML/booknlp/english/english_booknlp.py | 774 | # Check if any tokens in this sentence are part of quotes | COMMENT |
| LOW | components/E2A-SML/sml_extractor/core.py | 348 | # Check if age was already inferred | COMMENT |
| LOW | components/Universal_TTS_Finetune/web_gui.py | 627 | # Check if language exists in prebuilt voices.json | COMMENT |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 617 | # Check if transcript_file is a VTT file or needs forced alignment globally | COMMENT |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 674 | # Check if Whisper is needed for any of the files in the batch | COMMENT |
| LOW | components/Universal_TTS_Finetune/utils/pipeline.py | 1222 | # Check if the shared directory already has them | COMMENT |
| LOW | components/Universal_TTS_Finetune/utils/piper_utils.py | 26 | # Check if compiled file exists in target_dir | COMMENT |
| LOW | …tune/recipes/multilingual/cml_yourtts/train_yourtts.py | 52 | # Check if LibriTTS dataset is not already downloaded, if not download it | COMMENT |
| LOW | …tune/recipes/multilingual/cml_yourtts/train_yourtts.py | 144 | # Check if the embeddings weren't already computed, if not compute it | COMMENT |
| LOW | …sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py | 52 | # Check if VCTK dataset is not already downloaded, if not download it | COMMENT |
| LOW | …sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py | 94 | # Check if the embeddings weren't already computed, if not compute it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ext/py/num2words/num2words/lang_SR.py | 0 | args: val: numeric value currency (str): currency code cents (bool): verbose cents adjective (bool): prefix currency nam | STRING |
| HIGH | ext/py/num2words/num2words/lang_CE.py | 0 | args: val: numeric value currency (str): currency code cents (bool): verbose cents adjective (bool): prefix currency nam | STRING |
| HIGH | ext/py/num2words/num2words/lang_CY.py | 0 | args: val: numeric value currency (str): currency code cents (bool): verbose cents adjective (bool): prefix currency nam | STRING |
| HIGH | ext/py/num2words/num2words/lang_TET.py | 0 | args: val: numeric value currency (str): currency code cents (bool): verbose cents adjective (bool): prefix currency nam | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/E2A-SML/README.md | 100 | ### Step 1: BookNLP Analysis | COMMENT |
| LOW | components/E2A-SML/README.md | 109 | ### Step 2: SML Generation | COMMENT |
| LOW | components/E2A-SML/README.md | 133 | ### Step 3: Voice Assignment | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 168 | # Step 1: Get text file | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 198 | # Step 2: Load BookNLP data | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 202 | # Step 3: Extract characters | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 232 | # Step 5: Generate SML output (macro-based: voice tags use character names) | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 243 | # Step 6: Generate deprecated SML output (path-based: voice tags use raw file paths) | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 250 | # Step 7: Generate SML macros JSON | COMMENT |
| LOW | components/E2A-SML/cli.py | 215 | # Step 4: Auto-assign voices from ebook2audiobook voice library | COMMENT |
| LOW⚡ | lib/core.py | 1222 | # Step 1: Extract TOC (Table of Contents) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ext/py/demucs/demucs/audio_legacy.py | 1 | # This file is to extend support for torchaudio 2.1 | COMMENT |
| MEDIUM | components/Universal_TTS_Finetune/utils/gpt_train.py | 51 | # Define the path where XTTS v2.0.1 files will be downloaded | COMMENT |
| MEDIUM | …TS_Finetune/recipes/ljspeech/xtts_v1/train_gpt_xtts.py | 42 | # Define the path where XTTS v1.1.1 files will be downloaded | COMMENT |
| MEDIUM | …TS_Finetune/recipes/ljspeech/xtts_v2/train_gpt_xtts.py | 42 | # Define the path where XTTS v2.0.1 files will be downloaded | COMMENT |
| MEDIUM | …sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py | 50 | # Define the number of threads used during the audio resampling | COMMENT |
| MEDIUM | lib/classes/argos_translator.py | 128 | # Create a custom pivot translator object | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | components/E2A-SML/cli.py | 168 | # Step 1: Get text file | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 198 | # Step 2: Load BookNLP data | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 202 | # Step 3: Extract characters | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 232 | # Step 5: Generate SML output (macro-based: voice tags use character names) | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 243 | # Step 6: Generate deprecated SML output (path-based: voice tags use raw file paths) | COMMENT |
| LOW⚡ | components/E2A-SML/cli.py | 250 | # Step 7: Generate SML macros JSON | COMMENT |
| LOW | components/E2A-SML/cli.py | 215 | # Step 4: Auto-assign voices from ebook2audiobook voice library | COMMENT |
| LOW⚡ | lib/core.py | 1222 | # Step 1: Extract TOC (Table of Contents) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/py/demucs/tools/export.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | ext/py/demucs/demucs/distrib.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | ext/py/demucs/demucs/pretrained.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | ext/py/demucs/demucs/solver.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | ext/py/demucs/demucs/train.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | ext/py/demucs/demucs/evaluate.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …iversal_TTS_Finetune/piper/piper_train/vits/wavfile.py | 19 | __all__ = ["WavFileWarning", "read", "write"] | CODE |
| LOW | …ponents/Universal_TTS_Finetune/piper/piper/__init__.py | 3 | __all__ = [ | CODE |
| LOW | lib/__init__.py | 30 | __all__ = [ | CODE |
| LOW | lib/classes/tts_engines/common/headers.py | 14 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tune/recipes/multilingual/cml_yourtts/train_yourtts.py | 190 | resblock_type_decoder="2", # In the paper, we accidentally trained the YourTTS using ResNet blocks type 2, if you l | CODE |
| MEDIUM | …tune/recipes/multilingual/cml_yourtts/train_yourtts.py | 198 | # General training config, here you can change the batch size and others useful parameters | COMMENT |
| MEDIUM | …sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py | 134 | resblock_type_decoder="2", # In the paper, we accidentally trained the YourTTS using ResNet blocks type 2, if you l | CODE |
| MEDIUM | …sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py | 142 | # General training config, here you can change the batch size and others useful parameters | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/E2A-SML/booknlp/english/name_coref.py | 77 | # first, if a name is a complete match for an alias, just return the canonicals for the alias | COMMENT |
| MEDIUM | components/Universal_TTS_Finetune/utils/pipeline.py | 934 | # Use 'average' linkage which is more robust to outliers than 'complete' linkage | COMMENT |
| LOW | …tune/recipes/multilingual/cml_yourtts/train_yourtts.py | 131 | # Add here all datasets configs Note: If you want to add new datasets, just add them here and it will automatically comp | COMMENT |
| LOW | …sal_TTS_Finetune/recipes/vctk/yourtts/train_yourtts.py | 81 | # Add here all datasets configs, in our case we just want to train with the VCTK dataset then we need to add just VCTK. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | components/Universal_TTS_Finetune/utils/pipeline.py | 888 | # Guard against Whisper hallucination loops & excessive speed | COMMENT |
| MEDIUM | lib/core.py | 2471 | # Replace punctuations causing hallucinations | STRING |
| MEDIUM | lib/conf_lang.py | 35 | # Quotes causing hallucinations in some TTS engines | STRING |
| MEDIUM | lib/conf_lang.py | 55 | # Misinterpreted punctuation that can lead to hallucinations | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | components/E2A-SML/sml_extractor/core.py | 119 | Run BookNLP pipeline on a text file and return extracted data. Args: input_file: Path to the input text fil | STRING |