slapula commited on
Commit
e2aa46f
1 Parent(s): e1a80bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,7 +60,7 @@ mic_transcribe = gr.Interface(
60
  fn=transcribe,
61
  inputs=[
62
  gr.inputs.Audio(source="microphone", type="filepath", optional=True),
63
- gr.inputs.Textbox(labels="Word/Phrase"),
64
  gr.inputs.Checkbox(default=False, label="Return timestamps"),
65
  ],
66
  outputs=["text", "grade"],
@@ -79,7 +79,7 @@ file_transcribe = gr.Interface(
79
  fn=transcribe,
80
  inputs=[
81
  gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
82
- gr.inputs.Textbox(labels="Word/Phrase"),
83
  gr.inputs.Checkbox(default=False, label="Return timestamps"),
84
  ],
85
  outputs=["text", "grade"],
 
60
  fn=transcribe,
61
  inputs=[
62
  gr.inputs.Audio(source="microphone", type="filepath", optional=True),
63
+ gr.inputs.Textbox(label="Word/Phrase"),
64
  gr.inputs.Checkbox(default=False, label="Return timestamps"),
65
  ],
66
  outputs=["text", "grade"],
 
79
  fn=transcribe,
80
  inputs=[
81
  gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
82
+ gr.inputs.Textbox(label="Word/Phrase"),
83
  gr.inputs.Checkbox(default=False, label="Return timestamps"),
84
  ],
85
  outputs=["text", "grade"],