Skip to content

Commit 439d245

Browse files
committed
fix: broken Colab (no-UI) and UI mode after restructuring
- Create missing app/tabs/downloads/ with download_tab() function (GUI was crashing on launch due to missing download tab import) - Update config.json: fix all old rvc/ paths to new engine/ paths (convert_path, create_dataset_path, preprocess_path, extract_path, create_index_path, train_path, create_reference_path) - Fix directml.py: stale library/ path now resolves relative to package - Fix gui.py: add missing theme=theme parameter in gr.Blocks() - Update docs (README.md, optimizer.md, vocoder.md) to reflect new folder structure (services/, models/, engine/, ui/)
1 parent 2806c79 commit 439d245

8 files changed

Lines changed: 231 additions & 377 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -313,19 +313,20 @@ Advanced-RVC-Inference/
313313
│ ├── api/
314314
│ │ └── cli.py # Full CLI interface (rvc-cli)
315315
│ ├── configs/ # Model configs (v1, v2, ringformer, etc.)
316-
│ ├── core/ # Core utilities (UI, process, training, restart)
317-
│ ├── library/
316+
│ ├── services/ # Core utilities (process, training, restart)
317+
│ ├── ui/ # UI package
318+
│ ├── models/
318319
│ │ ├── backends/ # GPU backends (CUDA, ZLUDA, DirectML, OpenCL)
319-
│ │ ├── algorithm/ # Model architectures and algorithms
320+
│ │ ├── algorithms/ # Model architectures and algorithms
320321
│ │ ├── generators/ # Vocoder implementations
321322
│ │ ├── optimizers/ # Training optimizers
322323
│ │ ├── predictors/ # F0 extraction algorithms
323324
│ │ ├── embedders/ # Speaker embedding models
324325
│ │ └── onnx/ # ONNX export utilities
325-
│ ├── rvc/
326-
│ │ ├── infer/ # Inference engine & audio conversion
326+
│ ├── engine/
327+
│ │ ├── inference/ # Inference engine & audio conversion
327328
│ │ ├── realtime/ # Real-time voice conversion
328-
│ │ └── train/ # Preprocessing, extraction, training
329+
│ │ └── training/ # Preprocessing, extraction, training
329330
│ ├── uvr/ # UVR5 audio separation library
330331
│ └── utils/ # Shared variables & utilities
331332
├── Advanced-RVC.ipynb # Google Colab notebook
@@ -394,7 +395,7 @@ rvc-cli info
394395
python -c "import torch; print(torch.cuda.get_device_name(0))"
395396

396397
# If STFT issues occur, check that ZLUDA STFT override is loaded
397-
python -c "from advanced_rvc_inference.library.backends import zluda; print(f'ZLUDA: {zluda.is_available()}')"
398+
python -c "from advanced_rvc_inference.models.backends import zluda; print(f'ZLUDA: {zluda.is_available()}')"
398399
```
399400

400401
### Common Dependency Issues

advanced_rvc_inference/app/gui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def launch(
106106
else:
107107
with gr.Blocks(
108108
title=f"Advanced RVC Inference",
109+
theme=theme,
109110
js=js_code if client_mode else None,
110111
) as app:
111112
gr.HTML(
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
from advanced_rvc_inference.app.tabs.downloads.downloads import download_tab
1+
"""
2+
Downloads tab for Advanced RVC Inference Gradio interface.
3+
"""
4+
5+
from .downloads import download_tab
26

37
__all__ = ["download_tab"]

0 commit comments

Comments
 (0)