aai / app.py
mantrakp
Refactor code to update UI buttons in audio_tab()
85b4a2b
import gradio as gr
from config import css
from tabs.images.ui import image_tab
# from tabs.tts.ui import audio_tab
# from tabs.sound.ui import sound_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="πŸ”Š Sound"):
# sound_tab()
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,
)