Spaces:
Running
Running
Commit
·
c36f890
1
Parent(s):
d803ee9
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def yt_transcribe(yt_url, task, return_timestamps, language, max_filesize=75.0):
|
|
110 |
return html_embed_str, result['text']
|
111 |
|
112 |
|
113 |
-
demo = gr.Blocks()
|
114 |
|
115 |
mf_transcribe = gr.Interface(
|
116 |
fn=transcribe,
|
@@ -123,11 +123,6 @@ mf_transcribe = gr.Interface(
|
|
123 |
outputs="text",
|
124 |
layout="horizontal",
|
125 |
theme="huggingface",
|
126 |
-
title="Whisper Large V3: Transcribe Audio",
|
127 |
-
description=(
|
128 |
-
"\n\n"
|
129 |
-
"<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
|
130 |
-
),
|
131 |
allow_flagging="never",
|
132 |
)
|
133 |
|
@@ -142,11 +137,6 @@ file_transcribe = gr.Interface(
|
|
142 |
outputs="text",
|
143 |
layout="horizontal",
|
144 |
theme="huggingface",
|
145 |
-
title="Whisper Large V3: Transcribe Audio File",
|
146 |
-
description=(
|
147 |
-
"\n\n"
|
148 |
-
"<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
|
149 |
-
),
|
150 |
allow_flagging="never",
|
151 |
)
|
152 |
|
@@ -161,11 +151,6 @@ yt_transcribe = gr.Interface(
|
|
161 |
outputs=["html", "text"],
|
162 |
layout="horizontal",
|
163 |
theme="huggingface",
|
164 |
-
title="Whisper Large V3: Transcribe YouTube",
|
165 |
-
description=(
|
166 |
-
"\n\n"
|
167 |
-
"<center>⭐️Brought to you by <a href='https://note.com/sangmin/n/n9813f2064a6a'>Chiomirai School</a>⭐️</center>"
|
168 |
-
),
|
169 |
allow_flagging="never",
|
170 |
)
|
171 |
|
|
|
110 |
return html_embed_str, result['text']
|
111 |
|
112 |
|
113 |
+
demo = gr.Blocks(css="footer {visibility: hidden}")
|
114 |
|
115 |
mf_transcribe = gr.Interface(
|
116 |
fn=transcribe,
|
|
|
123 |
outputs="text",
|
124 |
layout="horizontal",
|
125 |
theme="huggingface",
|
|
|
|
|
|
|
|
|
|
|
126 |
allow_flagging="never",
|
127 |
)
|
128 |
|
|
|
137 |
outputs="text",
|
138 |
layout="horizontal",
|
139 |
theme="huggingface",
|
|
|
|
|
|
|
|
|
|
|
140 |
allow_flagging="never",
|
141 |
)
|
142 |
|
|
|
151 |
outputs=["html", "text"],
|
152 |
layout="horizontal",
|
153 |
theme="huggingface",
|
|
|
|
|
|
|
|
|
|
|
154 |
allow_flagging="never",
|
155 |
)
|
156 |
|