Update app.py
Browse files
app.py
CHANGED
@@ -1,22 +1,23 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
import os
|
3 |
-
DESCRIPTION = """
|
4 |
-
# audio sep
|
5 |
-
being made
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
)
|
11 |
-
|
12 |
-
|
13 |
-
gr.
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import os
|
3 |
+
DESCRIPTION = """
|
4 |
+
# audio sep
|
5 |
+
being made
|
6 |
+
[![Discord](https://img.shields.io/discord/1198701940511617164?color=%23738ADB&label=Discord&style=for-the-badge)](https://discord.gg/osai)
|
7 |
+
"""
|
8 |
+
|
9 |
+
theme = gr.themes.Base(
|
10 |
+
font=[gr.themes.GoogleFont('Libre Franklin'), gr.themes.GoogleFont('Public Sans'), 'system-ui', 'sans-serif'],
|
11 |
+
)
|
12 |
+
with gr.Blocks(css="footer{display:none !important}", theme=theme) as demo:
|
13 |
+
gr.Markdown(DESCRIPTION)
|
14 |
+
gr.DuplicateButton(
|
15 |
+
value="Duplicate Space for private use",
|
16 |
+
elem_id="duplicate-button",
|
17 |
+
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
18 |
+
)
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
demo.queue(max_size=20, api_open=False).launch(show_api=False)
|