Hunzla commited on
Commit
6b8fdb0
1 Parent(s): 43aa289

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def find_most_similar_command(statement, command_list):
33
  return best_match,reply
34
  def transcribe_the_command(audio,id):
35
  import soundfile as sf
36
- commands=urdu_data[id]
37
  sample_rate, audio_data = audio
38
  file_name = "recorded_audio.wav"
39
  sf.write(file_name, audio_data, sample_rate)
 
33
  return best_match,reply
34
  def transcribe_the_command(audio,id):
35
  import soundfile as sf
36
+ commands=urdu_data[0]
37
  sample_rate, audio_data = audio
38
  file_name = "recorded_audio.wav"
39
  sf.write(file_name, audio_data, sample_rate)