Harveenchadha commited on
Commit
6c461f0
1 Parent(s): db99e54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def read_file(wav):
22
 
23
 
24
  def parse_transcription(wav_file):
25
- filename = wav_file.name.split('.')[0]
26
- convert(wav_file.name, filename + "16k.wav")
27
  speech, _ = sf.read(filename + "16k.wav")
28
 
29
 
 
22
 
23
 
24
  def parse_transcription(wav_file):
25
+ filename = wav_file.split('.')[0]
26
+ convert(wav_file, filename + "16k.wav")
27
  speech, _ = sf.read(filename + "16k.wav")
28
 
29