Commit
ยท
48aa0a4
1
Parent(s):
7de38d8
Refactor code to update UI buttons in audio_tab()
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
|
| 3 |
from config import css
|
| 4 |
from tabs.audios.ui import audio_tab
|
| 5 |
-
from tabs.images.ui import image_tab
|
| 6 |
|
| 7 |
|
| 8 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
@@ -16,8 +16,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 16 |
|
| 17 |
# Tabs
|
| 18 |
with gr.Tabs():
|
| 19 |
-
with gr.Tab(label="๐ผ๏ธ Image"):
|
| 20 |
-
|
| 21 |
with gr.Tab(label="๐ต Audio"):
|
| 22 |
audio_tab()
|
| 23 |
# with gr.Tab(label="๐ฅ Video"):
|
|
|
|
| 2 |
|
| 3 |
from config import css
|
| 4 |
from tabs.audios.ui import audio_tab
|
| 5 |
+
# from tabs.images.ui import image_tab
|
| 6 |
|
| 7 |
|
| 8 |
with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
|
|
| 16 |
|
| 17 |
# Tabs
|
| 18 |
with gr.Tabs():
|
| 19 |
+
# with gr.Tab(label="๐ผ๏ธ Image"):
|
| 20 |
+
# image_tab()
|
| 21 |
with gr.Tab(label="๐ต Audio"):
|
| 22 |
audio_tab()
|
| 23 |
# with gr.Tab(label="๐ฅ Video"):
|