Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ mf_transcribe = gr.Interface(
|
|
95 |
fn=transcribe,
|
96 |
inputs=[
|
97 |
gr.Audio(type="filepath"),
|
98 |
-
gr.Radio(["transcribe", "translate"], label="Task",
|
99 |
],
|
100 |
outputs="text",
|
101 |
layout="horizontal",
|
@@ -113,7 +113,7 @@ file_transcribe = gr.Interface(
|
|
113 |
fn=transcribe,
|
114 |
inputs=[
|
115 |
gr.Audio(type="filepath", label="Audio file"),
|
116 |
-
gr.Radio(["transcribe", "translate"], label="Task",
|
117 |
],
|
118 |
outputs="text",
|
119 |
layout="horizontal",
|
@@ -131,7 +131,7 @@ yt_transcribe = gr.Interface(
|
|
131 |
fn=yt_transcribe,
|
132 |
inputs=[
|
133 |
gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
134 |
-
gr.Radio(["transcribe", "translate"], label="Task",
|
135 |
],
|
136 |
outputs=["html", "text"],
|
137 |
layout="horizontal",
|
|
|
95 |
fn=transcribe,
|
96 |
inputs=[
|
97 |
gr.Audio(type="filepath"),
|
98 |
+
gr.Radio(["transcribe", "translate"], label="Task", value="transcribe"),
|
99 |
],
|
100 |
outputs="text",
|
101 |
layout="horizontal",
|
|
|
113 |
fn=transcribe,
|
114 |
inputs=[
|
115 |
gr.Audio(type="filepath", label="Audio file"),
|
116 |
+
gr.Radio(["transcribe", "translate"], label="Task", value="transcribe"),
|
117 |
],
|
118 |
outputs="text",
|
119 |
layout="horizontal",
|
|
|
131 |
fn=yt_transcribe,
|
132 |
inputs=[
|
133 |
gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
134 |
+
gr.Radio(["transcribe", "translate"], label="Task", value="transcribe")
|
135 |
],
|
136 |
outputs=["html", "text"],
|
137 |
layout="horizontal",
|