Skip to content

Commit 14ce7a8

Browse files
authored
Merge pull request #17 from ArkanDash/formatter/master
Formatter/master
2 parents 43df767 + 941fb54 commit 14ce7a8

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
# Advanced RVC Inference
3+
# Advanced RVC Inference V3
44

55
[![Open In Colab](https://img.shields.io/badge/Open%20in%20Colab-blue?style=flat&logo=https%3A%2F%2Fcolab.research.google.com%2Fimg%2Fcolab_favicon_256px.png)](https://colab.research.google.com/github/ArkanDash/Advanced-RVC-Inference/blob/master/Advanced-RVC.ipynb)
66

@@ -18,10 +18,13 @@
1818

1919
## Information
2020
<div align="center">
21-
Advanced RVC Inference presents itself as a state-of-the-art web UI crafted to streamline rapid and effortless inference. This comprehensive toolset encompasses a model downloader, a voice splitter.
21+
22+
Advanced RVC Inference presents itself as a state-of-the-art web UI crafted to streamline rapid and effortless inference. This comprehensive toolset encompasses a model downloader, a voice splitter.
2223

2324
Please support the Applio. This inference won't be possible to make without it.<br />
25+
2426
[![Original Applio](https://img.shields.io/badge/Github-Original%20Applio%20Repository-blue?style=for-the-badge&logo=github)](https://github.com/IAHispano/Applio)
27+
2528
</div>
2629

2730
## Features
@@ -70,3 +73,10 @@ The use of the converted voice for the following purposes is prohibited.
7073
## Disclaimer
7174

7275
I am not liable for any direct, indirect, consequential, incidental, or special damages arising out of or in any way connected with the use/misuse or inability to use this software.
76+
77+
78+
## Credits
79+
80+
- [ArkanDash](https://github.com/ArkanDash) - Original Owner of this project
81+
82+
- [ShiromiyaG's RVC AICoverMaker UI](https://github.com/Eddycrack864/RVC-AI-Cover-Maker-UI.git) - this project base

core.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,18 +147,18 @@ def import_voice_converter():
147147
return VoiceConverter()
148148

149149

150-
151150
def load_config_presence():
152151
with open(config_file, "r", encoding="utf8") as file:
153152
config = json.load(file)
154153
return config["discord_presence"]
155154

155+
156156
def initialize_presence():
157157
if load_config_presence():
158158
RPCManager.start_presence()
159159

160-
initialize_presence()
161160

161+
initialize_presence()
162162

163163

164164
@lru_cache(maxsize=1)
@@ -304,7 +304,6 @@ def check_fp16_support(device):
304304
return True
305305

306306

307-
308307
@track_presence("Infer the Audio")
309308
def full_inference_program(
310309
model_path,
@@ -1049,13 +1048,16 @@ def download_music(link):
10491048
output_template = os.path.join(output_dir, "%(title)s.%(ext)s")
10501049

10511050
command = [
1052-
"yt-dlp",
1053-
"-x",
1054-
"--audio-format", "wav",
1055-
"--output", output_template,
1056-
"--cookies", "./assets/ytdlstuff.txt",
1057-
link,
1058-
]
1051+
"yt-dlp",
1052+
"-x",
1053+
"--audio-format",
1054+
"wav",
1055+
"--output",
1056+
output_template,
1057+
"--cookies",
1058+
"./assets/ytdlstuff.txt",
1059+
link,
1060+
]
10591061

10601062
try:
10611063
result = subprocess.run(command, check=True, capture_output=True, text=True)

0 commit comments

Comments
 (0)