Spaces:
Running
on
Zero
Running
on
Zero
upgraded to gradio 5
#10
by
ysharma
HF staff
- opened
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🤯
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
tags:
|
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: red
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.0.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
tags:
|
app.py
CHANGED
@@ -90,7 +90,7 @@ def yt_transcribe(yt_url, task, max_filesize=75.0):
|
|
90 |
return html_embed_str, text
|
91 |
|
92 |
|
93 |
-
demo = gr.Blocks()
|
94 |
|
95 |
mf_transcribe = gr.Interface(
|
96 |
fn=transcribe,
|
@@ -143,5 +143,5 @@ yt_transcribe = gr.Interface(
|
|
143 |
with demo:
|
144 |
gr.TabbedInterface([mf_transcribe, file_transcribe, yt_transcribe], ["Microphone", "Audio file", "YouTube"])
|
145 |
|
146 |
-
demo.queue().launch()
|
147 |
|
|
|
90 |
return html_embed_str, text
|
91 |
|
92 |
|
93 |
+
demo = gr.Blocks(theme=gr.themes.Ocean())
|
94 |
|
95 |
mf_transcribe = gr.Interface(
|
96 |
fn=transcribe,
|
|
|
143 |
with demo:
|
144 |
gr.TabbedInterface([mf_transcribe, file_transcribe, yt_transcribe], ["Microphone", "Audio file", "YouTube"])
|
145 |
|
146 |
+
demo.queue().launch(ssr_mode=False)
|
147 |
|