barreloflube commited on
Commit
85b4a2b
β€’
1 Parent(s): 5c8602a

Refactor code to update UI buttons in audio_tab()

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,9 +1,9 @@
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,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
- 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"):
 
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"):