Spaces:
Running
on
Zero
Running
on
Zero
alan
commited on
Commit
•
1578762
1
Parent(s):
0d0c66a
update
Browse files
app.py
CHANGED
@@ -126,8 +126,8 @@ demo = gr.Blocks()
|
|
126 |
mf_transcribe = gr.Interface(
|
127 |
fn=transcribe,
|
128 |
inputs=[
|
129 |
-
gr.Audio(sources="microphone", type="filepath"
|
130 |
-
gr.Textbox(lines=1, placeholder="Prompt"
|
131 |
],
|
132 |
outputs=["text", "text"],
|
133 |
layout="horizontal",
|
@@ -140,8 +140,8 @@ mf_transcribe = gr.Interface(
|
|
140 |
file_transcribe = gr.Interface(
|
141 |
fn=transcribe,
|
142 |
inputs=[
|
143 |
-
gr.Audio(sources="upload", type="filepath",
|
144 |
-
gr.Textbox(lines=1, placeholder="Prompt"
|
145 |
],
|
146 |
outputs=["text", "text"],
|
147 |
layout="horizontal",
|
@@ -154,7 +154,7 @@ yt_transcribe = gr.Interface(
|
|
154 |
fn=yt_transcribe,
|
155 |
inputs=[
|
156 |
gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
157 |
-
gr.Textbox(lines=1, placeholder="Prompt"
|
158 |
],
|
159 |
outputs=["html", "text", "text"],
|
160 |
layout="horizontal",
|
|
|
126 |
mf_transcribe = gr.Interface(
|
127 |
fn=transcribe,
|
128 |
inputs=[
|
129 |
+
gr.Audio(sources="microphone", type="filepath"),
|
130 |
+
gr.Textbox(lines=1, placeholder="Prompt"),
|
131 |
],
|
132 |
outputs=["text", "text"],
|
133 |
layout="horizontal",
|
|
|
140 |
file_transcribe = gr.Interface(
|
141 |
fn=transcribe,
|
142 |
inputs=[
|
143 |
+
gr.Audio(sources="upload", type="filepath", label="Audio file"),
|
144 |
+
gr.Textbox(lines=1, placeholder="Prompt"),
|
145 |
],
|
146 |
outputs=["text", "text"],
|
147 |
layout="horizontal",
|
|
|
154 |
fn=yt_transcribe,
|
155 |
inputs=[
|
156 |
gr.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
157 |
+
gr.Textbox(lines=1, placeholder="Prompt"),
|
158 |
],
|
159 |
outputs=["html", "text", "text"],
|
160 |
layout="horizontal",
|