Hunzla commited on
Commit
2105e0b
1 Parent(s): 71a6d39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def find_most_similar_command(statement, command_list):
29
  best_match="unknown"
30
  reply="unknown.wav"
31
  return best_match,reply
32
- def transcribe_the_command(audio_path):
33
  import soundfile as sf
34
  file_name = "recorded_audio.wav"
35
  sf.write(file_name, audio.data, audio.samplerate)
 
29
  best_match="unknown"
30
  reply="unknown.wav"
31
  return best_match,reply
32
+ def transcribe_the_command(audio):
33
  import soundfile as sf
34
  file_name = "recorded_audio.wav"
35
  sf.write(file_name, audio.data, audio.samplerate)