Hunzla commited on
Commit
04bdae1
1 Parent(s): 60e805b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def transcribe_with_diarization(audio_path):
29
  print(start_time)
30
  print(end_time)
31
  label = segment # Extract the label manually
32
- waveform, sample_rate = torchaudio.load("/content/drive/MyDrive/recording.mp3", normalize=True)
33
  start_sample = int(start_time * sample_rate)
34
  end_sample = int(end_time * sample_rate)
35
  print(waveform)
 
29
  print(start_time)
30
  print(end_time)
31
  label = segment # Extract the label manually
32
+ waveform, sample_rate = torchaudio.load(audio_path, normalize=True)
33
  start_sample = int(start_time * sample_rate)
34
  end_sample = int(end_time * sample_rate)
35
  print(waveform)