Nathan Franklin commited on
Commit
cc06fc8
·
1 Parent(s): 11cbc40

make microphone only source

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ demo = gr.Interface(
46
  choices=['English', 'Urdu', 'Japanese'],
47
  label='Language Choice'),
48
  gr.Audio(
49
- # format='mp3',
50
  show_download_button=True,
51
  type='filepath'
52
  )],
 
46
  choices=['English', 'Urdu', 'Japanese'],
47
  label='Language Choice'),
48
  gr.Audio(
49
+ sources='microphone',
50
  show_download_button=True,
51
  type='filepath'
52
  )],