etchen commited on
Commit
0f4cad5
·
verified ·
1 Parent(s): 77ced63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def infer(
24
  audio,
25
  target
26
  ):
27
- if type(audio) != tuple or type(target) != str: return
28
 
29
  # preprocess
30
  sampling_rate, wav = audio
 
24
  audio,
25
  target
26
  ):
27
+ if type(audio) != tuple or type(target) != str: return [None, None]
28
 
29
  # preprocess
30
  sampling_rate, wav = audio