Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ mf_transcribe = gr.Interface(
|
|
94 |
fn=transcribe,
|
95 |
inputs=[
|
96 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
97 |
-
gr.inputs.Textbox(lines=1, placeholder="Prompt",
|
98 |
],
|
99 |
outputs="text",
|
100 |
layout="horizontal",
|
@@ -108,7 +108,7 @@ file_transcribe = gr.Interface(
|
|
108 |
fn=transcribe,
|
109 |
inputs=[
|
110 |
gr.inputs.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
|
111 |
-
gr.inputs.Textbox(lines=1, placeholder="Prompt",
|
112 |
],
|
113 |
outputs="text",
|
114 |
layout="horizontal",
|
@@ -121,7 +121,7 @@ yt_transcribe = gr.Interface(
|
|
121 |
fn=yt_transcribe,
|
122 |
inputs=[
|
123 |
gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
124 |
-
gr.inputs.Textbox(lines=1, placeholder="Prompt",
|
125 |
],
|
126 |
outputs=["html", "text"],
|
127 |
layout="horizontal",
|
|
|
94 |
fn=transcribe,
|
95 |
inputs=[
|
96 |
gr.inputs.Audio(source="microphone", type="filepath", optional=True),
|
97 |
+
gr.inputs.Textbox(lines=1, placeholder="Prompt", optional=True)
|
98 |
],
|
99 |
outputs="text",
|
100 |
layout="horizontal",
|
|
|
108 |
fn=transcribe,
|
109 |
inputs=[
|
110 |
gr.inputs.Audio(source="upload", type="filepath", optional=True, label="Audio file"),
|
111 |
+
gr.inputs.Textbox(lines=1, placeholder="Prompt", optional=True)
|
112 |
],
|
113 |
outputs="text",
|
114 |
layout="horizontal",
|
|
|
121 |
fn=yt_transcribe,
|
122 |
inputs=[
|
123 |
gr.inputs.Textbox(lines=1, placeholder="Paste the URL to a YouTube video here", label="YouTube URL"),
|
124 |
+
gr.inputs.Textbox(lines=1, placeholder="Prompt", optional=True)
|
125 |
],
|
126 |
outputs=["html", "text"],
|
127 |
layout="horizontal",
|