Spaces:
Sleeping
Sleeping
fixed
Browse files
app.py
CHANGED
|
@@ -247,7 +247,7 @@ mf_transcribe = gr.Interface(
|
|
| 247 |
inputs=[
|
| 248 |
#gr.Audio(source="microphone", type="filepath", optional=True),
|
| 249 |
gr.Audio(sources="microphone", type="filepath"),
|
| 250 |
-
gr.Radio(["transcribe", "translate"], label="Task"
|
| 251 |
],
|
| 252 |
outputs="text",
|
| 253 |
layout="horizontal",
|
|
@@ -265,7 +265,7 @@ file_transcribe = gr.Interface(
|
|
| 265 |
fn=transcribe,
|
| 266 |
inputs=[
|
| 267 |
gr.Audio(sources="upload", type="filepath", label="Audio file"),
|
| 268 |
-
gr.Radio(["transcribe", "translate"], label="Task"
|
| 269 |
],
|
| 270 |
outputs="text",
|
| 271 |
layout="horizontal",
|
|
@@ -283,7 +283,7 @@ yt_transcribe = gr.Interface(
|
|
| 283 |
fn=yt_transcribe,
|
| 284 |
inputs=[
|
| 285 |
gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
| 286 |
-
gr.Radio(["transcribe", "translate"], label="Task"
|
| 287 |
],
|
| 288 |
outputs=["html", "text"],
|
| 289 |
layout="horizontal",
|
|
|
|
| 247 |
inputs=[
|
| 248 |
#gr.Audio(source="microphone", type="filepath", optional=True),
|
| 249 |
gr.Audio(sources="microphone", type="filepath"),
|
| 250 |
+
gr.Radio(["transcribe", "translate"], label="Task"),
|
| 251 |
],
|
| 252 |
outputs="text",
|
| 253 |
layout="horizontal",
|
|
|
|
| 265 |
fn=transcribe,
|
| 266 |
inputs=[
|
| 267 |
gr.Audio(sources="upload", type="filepath", label="Audio file"),
|
| 268 |
+
gr.Radio(["transcribe", "translate"], label="Task"),
|
| 269 |
],
|
| 270 |
outputs="text",
|
| 271 |
layout="horizontal",
|
|
|
|
| 283 |
fn=yt_transcribe,
|
| 284 |
inputs=[
|
| 285 |
gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
| 286 |
+
gr.Radio(["transcribe", "translate"], label="Task")
|
| 287 |
],
|
| 288 |
outputs=["html", "text"],
|
| 289 |
layout="horizontal",
|