Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def transcribe(files, task, return_timestamps):
|
|
53 |
mic_transcribe = gr.Interface(
|
54 |
fn=transcribe,
|
55 |
inputs=[
|
56 |
-
gr.Audio(sources="microphone", type="filepath"
|
57 |
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
58 |
gr.Checkbox(default=False, label="Return timestamps"),
|
59 |
],
|
@@ -70,7 +70,7 @@ mic_transcribe = gr.Interface(
|
|
70 |
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", default="transcribe"),
|
75 |
gr.Checkbox(default=False, label="Return timestamps"),
|
76 |
],
|
|
|
53 |
mic_transcribe = gr.Interface(
|
54 |
fn=transcribe,
|
55 |
inputs=[
|
56 |
+
gr.Audio(sources="microphone", type="filepath"),
|
57 |
gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
|
58 |
gr.Checkbox(default=False, label="Return timestamps"),
|
59 |
],
|
|
|
70 |
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", default="transcribe"),
|
75 |
gr.Checkbox(default=False, label="Return timestamps"),
|
76 |
],
|