Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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(
|
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"],
|