Neal Caren commited on
Commit
c089e11
1 Parent(s): 649cc15
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ nu_speakers = form.slider('Number of speakers in audio file:', min_value=1, max_
16
  submit = form.form_submit_button("Transcribe!")
17
 
18
 
19
- if submit is not None:
20
  bytes_data = uploaded.getvalue()
21
  with open('temp_audio', 'wb') as outfile:
22
  outfile.write(bytes_data)
 
16
  submit = form.form_submit_button("Transcribe!")
17
 
18
 
19
+ if submit:
20
  bytes_data = uploaded.getvalue()
21
  with open('temp_audio', 'wb') as outfile:
22
  outfile.write(bytes_data)