silvesterjk commited on
Commit
19e628d
1 Parent(s): 85cd50a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -158,11 +158,13 @@ with block:
158
  )
159
 
160
  with gr.Group():
161
- audio = gr.Audio(
162
- show_label=False,
163
- source="microphone",
164
- type="filepath"
 
165
  )
 
166
  with gr.Box():
167
  with gr.Row().style(equal_height=True):
168
  transcribe_button = gr.Button("Transcribe")
 
158
  )
159
 
160
  with gr.Group():
161
+ #audio = gr.Audio(
162
+ # show_label=False,
163
+ # source="microphone",
164
+ # type="filepath"
165
+ audio = gr.Audio(source="upload", type="filepath", label="Upload Audio")
166
  )
167
+
168
  with gr.Box():
169
  with gr.Row().style(equal_height=True):
170
  transcribe_button = gr.Button("Transcribe")