Piper Master Trainer
C 66 completed
Other
monorepo / json · small
106
Files
9,433
LOC
5
Frameworks
11
Languages
Pipeline State
completedRun ID
#1545473Phase
doneProgress
0%Started
2026-04-16 23:23:59Finished
2026-04-16 23:23:59LLM tokens
0Pipeline Metadata
Stage
CatalogedDecision
proceedNovelty
55.80Framework unique
—Isolation
—Last stage change
2026-05-10 03:35:02Deduplication group #49610
Powered by Repobility — scan your code at https://repobility.com
🧪 Code Distillation
Browse all specs →AI Prompt
Create a full-stack web application for training voice models, similar to a "Piper Master Trainer." I need the frontend built with React, TypeScript, and Vite, and the backend using FastAPI and SQLAlchemy. The application must support downloading audio from YouTube or local files, transcribing it using faster-whisper on a GPU, and preparing the dataset. Key features include VITS model training (from scratch or fine-tuning) on the GPU, exporting the model to ONNX, and testing speech synthesis. Please structure the project to use Docker Compose for easy setup, and include endpoints for project creation, transcription, training start/stop, and synthesis.
python react typescript fastapi sqlalchemy vite docker tts gpu machine-learning audio-processing
Generated by gemma4:latest
Catalog Information
Create a full-stack web application for training voice models, similar to a "Piper Master Trainer." I need the frontend built with React, TypeScript, and Vite, and the backend using FastAPI and SQLAlchemy. The application must support downloading audio from YouTube or local files, transcribing it using faster-whisper on a GPU, and preparing the dataset. Key features include VITS model training (from scratch or fine-tuning) on the GPU, exporting the model to ONNX, and testing speech synthesis. Pl
Tags
python react typescript fastapi sqlalchemy vite docker tts gpu machine-learning audio-processing
Quality Score
C
66.0/100
Structure
61
Code Quality
98
Documentation
38
Testing
40
Practices
67
Security
75
Dependencies
90
Strengths
- Code linting configured (eslint, ruff (possible))
- Consistent naming conventions (snake_case)
- Low average code complexity — well-structured code
- Containerized deployment (Docker)
Weaknesses
- No LICENSE file — legal ambiguity for contributors
- No CI/CD configuration — manual testing and deployment
- 242 duplicate lines detected — consider DRY refactoring
Recommendations
- Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
- Add a LICENSE file (MIT recommended for open source)
Languages
Frameworks
FastAPI React pytest Vite SQLAlchemy
Symbols
variable334
function96
method75
class48
interface16
constant5
property4
API Endpoints (40)
| Method | Path | Handler | Framework | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Open data scored by Repobility · https://repobility.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | | create_project | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | | list_projects | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /api/audio/{file_path:path} | serve_audio | FastAPI/Flask | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /api/health | health_check | FastAPI/Flask | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /api/system/gpu | gpu_status | FastAPI/Flask | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /checkpoints/{project_id} | list_checkpoints | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /cookies | upload_cookies | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /cookies/refresh | refresh_cookies | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /cookies/status | cookies_status | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /{dataset_id}/preview | preview_csv | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /{dataset_id}/stats | dataset_stats | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /{dataset_id}/validate | validate_dataset | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /download | download_youtube | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /export | export_model | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DELETE | /files/{audio_file_id} | delete_audio_file | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /files/{project_id} | list_audio_files | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /health | api.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /info | get_video_info | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /logs | training_logs | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /models | available_models | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /prepare | prepare_dataset | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /pretrained | list_pretrained | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PATCH | /{project_id} | update_project | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /{project_id} | get_project | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /{project_id} | list_datasets | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /{project_id} | list_models | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WEBSOCKET | /{project_id} | websocket_endpoint | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DELETE | /{project_id} | delete_project | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /segments/merge | merge_segments | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /segments/{project_id} | list_segments | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DELETE | /segments/{segment_id} | delete_segment | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PUT | /segments/{segment_id} | update_segment | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /segments/{segment_id}/split | split_segment | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /start | start_training | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /start | start_transcription | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /status | training_status | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /stop | stop_training | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /synthesize | synthesize | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /training/stop | api.post | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /upload | upload_audio | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Repobility · code-quality intelligence platform · https://repobility.com
Embed Badge
Add to your README:
BinComp Dependency Hardening
All packages →8 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.
Ftorch2.11.0 · 1,257 gadgets · risk 5116.6Nalembic1.18.4 · 0 gadgets · risk 0.0Nasyncio4.0.0 · 0 gadgets · risk 0.0Ncelery5.6.3 · 0 gadgets · risk 0.0Nfastapi0.135.3 · 0 gadgets · risk 0.0Npydantic2.12.5 · 0 gadgets · risk 0.0Nsecretstorage3.5.0 · 0 gadgets · risk 0.0Fsqlalchemy2.0.49 · 376 gadgets · risk 0.0