peb-peb commited on
Commit
b2ae017
1 Parent(s): 7a0bf92
Files changed (2) hide show
  1. .gitattributes +1 -0
  2. transcribe.py +1 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.wav filter=lfs diff=lfs merge=lfs -text
transcribe.py CHANGED
@@ -20,6 +20,7 @@ embedding_model = PretrainedSpeakerEmbedding(
20
  )
21
 
22
  def transcribe(audio, num_speakers):
 
23
  path, error = convert_to_wav(audio)
24
  if error is not None:
25
  return error
 
20
  )
21
 
22
  def transcribe(audio, num_speakers):
23
+ print(type(audio))
24
  path, error = convert_to_wav(audio)
25
  if error is not None:
26
  return error