File size: 902 Bytes
0a8b4a2 42ae52a 3237809 42ae52a |
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.image_tab import image_tab
from tabs.audio_tab import audio_tab
from tabs.video_tab import video_tab
from tabs.text_tab import text_tab
def main():
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.
[](https://github.com/mantrakp04/aai/actions/workflows/hf-space.yml)
""")
# Tabs
with gr.Tabs():
image_tab()
audio_tab()
video_tab()
text_tab()
demo.launch(
share=False,
debug=True,
)
if __name__ == "__main__":
main()
|