Added --crepe_model usability

This commit is contained in:
Vadim committed 2023-02-03 00:32:48 +01:00
1 parent 35f3931d72
commit 9fa30be809
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -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
View File
@@ -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:'):