File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ def decode(
122122 device : str, optional
123123 Device to use, by default "cuda". If "cpu", the model will be loaded on the CPU.
124124 model_type : str, optional
125- The type of model to download . Must be one of "44khz", "24khz", or "16khz". Defaults to "44khz". Ignored if `weights_path` is specified.
125+ The type of model to use . Must be one of "44khz", "24khz", or "16khz". Defaults to "44khz". Ignored if `weights_path` is specified.
126126 """
127127 generator = load_model (
128128 tag = model_tag ,
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def encode(
146146 device : str, optional
147147 Device to use, by default "cuda"
148148 model_type : str, optional
149- The type of model to download . Must be one of "44khz", "24khz", or "16khz". Defaults to "44khz". Ignored if `weights_path` is specified.
149+ The type of model to use . Must be one of "44khz", "24khz", or "16khz". Defaults to "44khz". Ignored if `weights_path` is specified.
150150 """
151151 generator = load_model (
152152 tag = model_tag ,
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ def test_reconstruction(model_type):
5050 args = {
5151 "input" : str (input_dir ),
5252 "output" : str (output_dir ),
53+ "model_type" : model_type ,
5354 }
5455 with argbind .scope (args ):
5556 run ("decode" )
You can’t perform that action at this time.
0 commit comments