smile
update main.py to start app
b9e2d5a
raw
history blame contribute delete
484 Bytes
# -*- coding: utf-8 -*-
# @Date : 2024/12/24 16:59
# @Author : q275343119
# @File : app.py
# @Description: Main entry point for the application
from app.ui.home import init_home
from app.ui.about import init_about
import gradio as gr
home = init_home()
about = init_about()
demo = gr.TabbedInterface(
[home, about],
["Home", "About"],
css="footer {display: none} .sort-button.svelte-1bvc1p0.svelte-1bvc1p0.svelte-1bvc1p0 {display: none;}"
)
demo.launch()