Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ mic_transcribe = gr.Interface(
|
|
54 |
fn=transcribe,
|
55 |
inputs=[
|
56 |
gr.Audio(sources="microphone", type="filepath"),
|
57 |
-
gr.Radio(["transcribe", "translate"], label="Task"
|
58 |
gr.Checkbox(default=False, label="Return timestamps"),
|
59 |
],
|
60 |
outputs="text",
|
@@ -71,7 +71,7 @@ file_transcribe = gr.Interface(
|
|
71 |
fn=transcribe,
|
72 |
inputs=[
|
73 |
gr.Audio(sources="upload", type="filepath", label="Upload Audio File"),
|
74 |
-
gr.Radio(["transcribe", "translate"], label="Task"
|
75 |
gr.Checkbox(default=False, label="Return timestamps"),
|
76 |
],
|
77 |
outputs="text",
|
|
|
54 |
fn=transcribe,
|
55 |
inputs=[
|
56 |
gr.Audio(sources="microphone", type="filepath"),
|
57 |
+
gr.Radio(["transcribe", "translate"], label="Task"),
|
58 |
gr.Checkbox(default=False, label="Return timestamps"),
|
59 |
],
|
60 |
outputs="text",
|
|
|
71 |
fn=transcribe,
|
72 |
inputs=[
|
73 |
gr.Audio(sources="upload", type="filepath", label="Upload Audio File"),
|
74 |
+
gr.Radio(["transcribe", "translate"], label="Task"),
|
75 |
gr.Checkbox(default=False, label="Return timestamps"),
|
76 |
],
|
77 |
outputs="text",
|