freealise commited on
Commit
a559bd7
·
verified ·
1 Parent(s): d6f87a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -243,7 +243,7 @@ def sortFiles(e):
243
  e = e.split('/')
244
  return e[len(e)-1]
245
 
246
- def loadf(f):
247
  if f != None and f[0] != None:
248
  f.sort(key=sortFiles)
249
  fnew = []
@@ -253,7 +253,7 @@ def loadf(f):
253
  if ftype[len(ftype)-1].split('.')[1] == 'mp4':
254
  fl = sharpest(fl, i)
255
 
256
- fl = remove_bg(fl)
257
  fnew.append(fl)
258
 
259
  return fnew, fnew
 
243
  e = e.split('/')
244
  return e[len(e)-1]
245
 
246
+ def loadf(f, s, l, v):
247
  if f != None and f[0] != None:
248
  f.sort(key=sortFiles)
249
  fnew = []
 
253
  if ftype[len(ftype)-1].split('.')[1] == 'mp4':
254
  fl = sharpest(fl, i)
255
 
256
+ fl = remove_bg(fl, s, l, v)
257
  fnew.append(fl)
258
 
259
  return fnew, fnew