Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,8 +60,8 @@ demo = gr.Blocks()
|
|
60 |
mf_transcribe = gr.Interface(
|
61 |
fn=transcribe,
|
62 |
inputs=[
|
63 |
-
gr.
|
64 |
-
gr.
|
65 |
],
|
66 |
outputs="text",
|
67 |
layout="horizontal",
|
@@ -77,7 +77,7 @@ mf_transcribe = gr.Interface(
|
|
77 |
|
78 |
yt_transcribe = gr.Interface(
|
79 |
fn=yt_transcribe,
|
80 |
-
inputs=[gr.
|
81 |
outputs=["html", "text"],
|
82 |
layout="horizontal",
|
83 |
theme="huggingface",
|
|
|
60 |
mf_transcribe = gr.Interface(
|
61 |
fn=transcribe,
|
62 |
inputs=[
|
63 |
+
gr.Audio(sources="microphone", type="filepath", optional=True),
|
64 |
+
gr.Audio(sources="upload", type="filepath", optional=True),
|
65 |
],
|
66 |
outputs="text",
|
67 |
layout="horizontal",
|
|
|
77 |
|
78 |
yt_transcribe = gr.Interface(
|
79 |
fn=yt_transcribe,
|
80 |
+
inputs=[gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL")],
|
81 |
outputs=["html", "text"],
|
82 |
layout="horizontal",
|
83 |
theme="huggingface",
|