mskov commited on
Commit
ae3a68d
·
1 Parent(s): e96a816

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def main():
61
  demo = gr.Interface(
62
  fn=zero_shot_classify,
63
  inputs=[
64
- gr.Audio(source="upload", type="filepath", label="Audio File"),
65
  gr.Textbox(lines=1, label="Candidate class names (comma-separated)"),
66
  gr.Radio(
67
  choices=["tiny", "base", "small", "medium", "large"],
 
61
  demo = gr.Interface(
62
  fn=zero_shot_classify,
63
  inputs=[
64
+ audio = gr.Audio(label="Input Audio",show_label=False,source="microphone",type="filepath")
65
  gr.Textbox(lines=1, label="Candidate class names (comma-separated)"),
66
  gr.Radio(
67
  choices=["tiny", "base", "small", "medium", "large"],