Shubham09 commited on
Commit
c17c781
·
1 Parent(s): 4dd7c15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def load_data(input_file):
26
  return speech
27
  def write_to_file(input_file):
28
  with open("microphone-results.wav", "wb") as f:
29
- f.write(input_file.get_wav_data())
30
  # import base64
31
  # wav_file = open("temp.wav", "wb")
32
  # decode_string = base64.b64decode(input_file)
 
26
  return speech
27
  def write_to_file(input_file):
28
  with open("microphone-results.wav", "wb") as f:
29
+ f.write(input_file.get_wav_data())
30
  # import base64
31
  # wav_file = open("temp.wav", "wb")
32
  # decode_string = base64.b64decode(input_file)