akshansh36 commited on
Commit
0d5ee3c
1 Parent(s): eb5e00e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -283,11 +283,11 @@ def index_conf():
283
  )
284
 
285
  def audio_conf():
286
- return gr.File(
287
- label="Audio files",
288
- file_count="multiple",
289
  type="filepath",
290
- container=True,
291
  )
292
 
293
  def button_conf():
 
283
  )
284
 
285
  def audio_conf():
286
+ return gr.Audio(
287
+ label="Upload or Record Audio",
288
+ source="microphone", # Allows recording via microphone
289
  type="filepath",
290
+ file_count="single",
291
  )
292
 
293
  def button_conf():