Vihang28 commited on
Commit
6145d6c
1 Parent(s): 246aa34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def record_text(audio_file):
12
  r = sr.Recognizer()
13
 
14
  sound = audio_file
15
- sound_type = str_sound.split(".")
16
  if sound_type[-1] == 'mp3':
17
  input_file = sound
18
  output_file = "con_sound.wav"
 
12
  r = sr.Recognizer()
13
 
14
  sound = audio_file
15
+ sound_type = sound.split(".")
16
  if sound_type[-1] == 'mp3':
17
  input_file = sound
18
  output_file = "con_sound.wav"