File size: 906 Bytes
0a8b4a2
 
42ae52a
fb7b96a
48aa0a4
acde4c3
42ae52a
37112ef
 
 
 
 
 
 
 
adc7d13
37112ef
 
48aa0a4
 
acde4c3
 
37112ef
 
 
 
42ae52a
acde4c3
37112ef
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import gradio as gr

from config import css
from tabs.tts.ui import audio_tab
# from tabs.images.ui import image_tab


with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
    # Header
    with gr.Column(elem_classes="center-content"):
        gr.Markdown("""
        # πŸš€ AAI: All AI
        Unleash your creativity with our multi-modal AI platform.
        [![Sync code to HF Space](https://github.com/mantrakp04/aai/actions/workflows/hf-space.yml/badge.svg)](https://github.com/mantrakp04/aai/actions/workflows/hf-space.yml)
        """)
    
    # Tabs
    with gr.Tabs():
        # with gr.Tab(label="πŸ–ΌοΈ Image"):
        #     image_tab()
        with gr.Tab(label="🎡 Audio"):
            audio_tab()
        # with gr.Tab(label="πŸŽ₯ Video"):
        #     video_tab()
        # with gr.Tab(label="πŸ“ Text"):
        #     text_tab()


demo.launch(
    share=False,
    debug=True,
)