sotirios-slv commited on
Commit
0547be0
·
1 Parent(s): 33bef80

Updated the input

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -51,7 +51,9 @@ def transcribe_audio(audio):
51
 
52
 
53
  input_audio = gr.Audio(
54
- sources=["microphone"],
 
 
55
  waveform_options=gr.WaveformOptions(
56
  waveform_color="#01C6FF",
57
  waveform_progress_color="#0066B4",
 
51
 
52
 
53
  input_audio = gr.Audio(
54
+ source="microphone",
55
+ type="filepath",
56
+ optional=True,
57
  waveform_options=gr.WaveformOptions(
58
  waveform_color="#01C6FF",
59
  waveform_progress_color="#0066B4",