freddyaboulton HF staff commited on
Commit
63e5c46
·
1 Parent(s): 042390d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def transcribe(
45
  )
46
 
47
  output = pipe(
48
- {"audio": audio_sr, "turns": transformers_chat, "sampling_rate": target_sr},
49
  max_new_tokens=512,
50
  )
51
  transcription = whisper({"array": audio_sr.squeeze(), "sampling_rate": target_sr})
 
45
  )
46
 
47
  output = pipe(
48
+ {"audio": audio_sr, "turns": conversation, "sampling_rate": target_sr},
49
  max_new_tokens=512,
50
  )
51
  transcription = whisper({"array": audio_sr.squeeze(), "sampling_rate": target_sr})