Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ mf_transcribe = gr.Interface(
|
|
74 |
fn=transcribe,
|
75 |
inputs=[
|
76 |
gr.components.Audio(sources=['upload', 'microphone'], type="filepath"),
|
77 |
-
gr.components.Checkbox(label="Return timestamps"),
|
78 |
],
|
79 |
outputs="text",
|
80 |
theme="huggingface",
|
@@ -91,9 +91,9 @@ yt_transcribe = gr.Interface(
|
|
91 |
fn=yt_transcribe,
|
92 |
inputs=[
|
93 |
gr.components.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
94 |
-
gr.components.Checkbox(label="Return timestamps"),
|
95 |
],
|
96 |
-
examples=[["https://www.youtube.com/watch?v=mukeSSa5GKo"
|
97 |
outputs=["html", "text"],
|
98 |
theme="huggingface",
|
99 |
title="Whisper Demo: Transcribe YouTube",
|
|
|
74 |
fn=transcribe,
|
75 |
inputs=[
|
76 |
gr.components.Audio(sources=['upload', 'microphone'], type="filepath"),
|
77 |
+
# gr.components.Checkbox(label="Return timestamps"),
|
78 |
],
|
79 |
outputs="text",
|
80 |
theme="huggingface",
|
|
|
91 |
fn=yt_transcribe,
|
92 |
inputs=[
|
93 |
gr.components.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
94 |
+
# gr.components.Checkbox(label="Return timestamps"),
|
95 |
],
|
96 |
+
examples=[["https://www.youtube.com/watch?v=mukeSSa5GKo"]],
|
97 |
outputs=["html", "text"],
|
98 |
theme="huggingface",
|
99 |
title="Whisper Demo: Transcribe YouTube",
|