jlvdoorn commited on
Commit
10994f7
1 Parent(s): dcdf98f
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,7 +77,7 @@ iface = gr.Interface(
77
  )
78
 
79
  #%%
80
- file_iface = gr.load(
81
  fn = transcribeAndExtract,
82
  inputs = [gr.Audio(source='upload', type='filepath', interactive=True),
83
  gr.Checkbox(label='Transcribe only', default=False),
@@ -89,7 +89,7 @@ file_iface = gr.load(
89
  description = 'Transcribe and extract',
90
  )
91
 
92
- mic_iface = gr.load(
93
  fn = transcribeAndExtract,
94
  inputs = [gr.Audio(source='microphone', type='filepath'),
95
  gr.Checkbox(label='Transcribe only', default=False),
 
77
  )
78
 
79
  #%%
80
+ file_iface = gr.Interface(
81
  fn = transcribeAndExtract,
82
  inputs = [gr.Audio(source='upload', type='filepath', interactive=True),
83
  gr.Checkbox(label='Transcribe only', default=False),
 
89
  description = 'Transcribe and extract',
90
  )
91
 
92
+ mic_iface = gr.Interface(
93
  fn = transcribeAndExtract,
94
  inputs = [gr.Audio(source='microphone', type='filepath'),
95
  gr.Checkbox(label='Transcribe only', default=False),