on1onmangoes commited on
Commit
bb78308
1 Parent(s): 1bbd814

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ import gradio as gr
30
 
31
  def transcribe(audio_path):
32
  # Run diarization while we wait for Whisper JAX
33
- diarization = diarization_pipeline(audio_path, num_speakers=2)
34
  # Segments = diarization.for_json()["content"]
35
  # Segments = str(diarization)
36
  transcription = "SAML Output"
 
30
 
31
  def transcribe(audio_path):
32
  # Run diarization while we wait for Whisper JAX
33
+ diarization = diarization_pipeline(audio_path)
34
  # Segments = diarization.for_json()["content"]
35
  # Segments = str(diarization)
36
  transcription = "SAML Output"