barto17 commited on
Commit
1f7afcd
·
1 Parent(s): 9d00207

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -70,9 +70,6 @@ def transcribe(Microphone, File_Upload, URL):
70
  "The recorded file from the microphone will be used and the uploaded audio will be discarded.\n"
71
  file = Microphone
72
 
73
- elif (Microphone is None) and (File_Upload is None):
74
- return "ERROR: You have to either use the microphone or upload an audio file"
75
-
76
  elif Microphone is not None:
77
  file = Microphone
78
 
 
70
  "The recorded file from the microphone will be used and the uploaded audio will be discarded.\n"
71
  file = Microphone
72
 
 
 
 
73
  elif Microphone is not None:
74
  file = Microphone
75