noblebarkrr commited on
Commit
1c3372f
·
verified ·
1 Parent(s): 7e62bb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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: