Commit
Β·
85b4a2b
1
Parent(s):
5c8602a
Refactor code to update UI buttons in audio_tab()
Browse files
app.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
from config import css
|
| 4 |
-
|
| 5 |
# from tabs.tts.ui import audio_tab
|
| 6 |
-
from tabs.sound.ui import sound_tab
|
| 7 |
|
| 8 |
|
| 9 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
@@ -17,10 +17,10 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 17 |
|
| 18 |
# Tabs
|
| 19 |
with gr.Tabs():
|
| 20 |
-
with gr.Tab(label="π Sound"):
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
# with gr.Tab(label="π΅ Audio"):
|
| 25 |
# audio_tab()
|
| 26 |
# with gr.Tab(label="π₯ Video"):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
from config import css
|
| 4 |
+
from tabs.images.ui import image_tab
|
| 5 |
# from tabs.tts.ui import audio_tab
|
| 6 |
+
# from tabs.sound.ui import sound_tab
|
| 7 |
|
| 8 |
|
| 9 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
|
|
| 17 |
|
| 18 |
# Tabs
|
| 19 |
with gr.Tabs():
|
| 20 |
+
# with gr.Tab(label="π Sound"):
|
| 21 |
+
# sound_tab()
|
| 22 |
+
with gr.Tab(label="πΌοΈ Image"):
|
| 23 |
+
image_tab()
|
| 24 |
# with gr.Tab(label="π΅ Audio"):
|
| 25 |
# audio_tab()
|
| 26 |
# with gr.Tab(label="π₯ Video"):
|