dpe1 commited on
Commit
5368ce0
1 Parent(s): 563ebfc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def BeatSwap(audiofile, pattern: str = 'test', scale:float = 1, shift:float = 0,
9
  if pattern == '' or pattern is None: pattern = 'test'
10
  if caching is not False: caching == True
11
  if variableBPM is not True: variableBPM == False
12
- if 'random' in pattern.lower(): pattern = random
13
  try:
14
  scale=bm.utils._safer_eval(scale)
15
  except: scale = 1
 
9
  if pattern == '' or pattern is None: pattern = 'test'
10
  if caching is not False: caching == True
11
  if variableBPM is not True: variableBPM == False
12
+ if 'random' in pattern.lower(): pattern = 'random'
13
  try:
14
  scale=bm.utils._safer_eval(scale)
15
  except: scale = 1