not-lain commited on
Commit
e780ea0
1 Parent(s): 3febd7b

debugging audio

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -23,6 +23,8 @@ def process_speech(audio):
23
  """
24
  processing sound using seamless_m4t
25
  """
 
 
26
  audio_name = f"{np.random.randint(0, 100)}.wav"
27
  sr, data = audio
28
  write(audio_name, sr, data.astype(np.int16))
 
23
  """
24
  processing sound using seamless_m4t
25
  """
26
+ print(f"audio : {audio}")
27
+ print(f"audio type : {type(audio)}")
28
  audio_name = f"{np.random.randint(0, 100)}.wav"
29
  sr, data = audio
30
  write(audio_name, sr, data.astype(np.int16))