mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-11-30 09:13:57 +09:00
Added --crepe_model usability
This commit is contained in:
1 parent
35f3931d72
commit
9fa30be809
2 files changed
+5
-3
No files matched your search
@@ -49,7 +49,7 @@ _Not all options working now!_
|
||||
|
||||
[pitcher]
|
||||
-crepe default
|
||||
(-crepe_model tiny|small|medium|large|full) # In Progress
|
||||
--crepe_model tiny|small|medium|large|full
|
||||
```
|
||||
|
||||
### Input
|
||||
@@ -88,5 +88,5 @@ For just testing you should use `tiny`, which is currently default.
|
||||
If you want solid accurate, then use the `full` model.
|
||||
|
||||
```commandline
|
||||
in progress
|
||||
-i XYZ --crepe_model full
|
||||
```
|
||||
+3
-1
@@ -318,7 +318,7 @@ def do_audio_stuff():
|
||||
|
||||
def main(argv):
|
||||
short = "hi:o:amv:"
|
||||
long = ["ifile=", "ofile="]
|
||||
long = ["ifile=", "ofile=", "crepe_model="]
|
||||
|
||||
opts, args = getopt.getopt(argv, short, long)
|
||||
|
||||
@@ -336,6 +336,8 @@ def main(argv):
|
||||
settings.output_file_path = arg
|
||||
elif opt in ("-v"):
|
||||
settings.vosk_model_path = arg
|
||||
elif opt in ("--crepe_model"):
|
||||
settings.crepe_model_capacity = arg
|
||||
|
||||
if settings.output_file_path == '':
|
||||
if settings.input_file_path.startswith('https:'):
|
||||
|
||||
Reference in new issue
Block a user