Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,6 +36,8 @@ mvsepless = MVSEPLESS()
|
|
| 36 |
|
| 37 |
@spaces.GPU
|
| 38 |
def sep_wrapper(a, b, c, d, e, f, g, h):
|
|
|
|
|
|
|
| 39 |
results = mvsepless.separator(input_file=a, output_dir=gen_out_dir(), model_type=b, model_name=c, ext_inst=d, vr_aggr=e, output_format=f, output_bitrate=f'{g}k', call_method="cli", selected_stems=h)
|
| 40 |
stems = []
|
| 41 |
if results:
|
|
|
|
| 36 |
|
| 37 |
@spaces.GPU
|
| 38 |
def sep_wrapper(a, b, c, d, e, f, g, h):
|
| 39 |
+
if not g:
|
| 40 |
+
g = 128
|
| 41 |
results = mvsepless.separator(input_file=a, output_dir=gen_out_dir(), model_type=b, model_name=c, ext_inst=d, vr_aggr=e, output_format=f, output_bitrate=f'{g}k', call_method="cli", selected_stems=h)
|
| 42 |
stems = []
|
| 43 |
if results:
|