demo / app.py
lvyb
xixi
c3a1883
raw
history blame
594 Bytes
import gradio as gr
from tabs.audit import audit_tab
from tabs.ocr import ocr_tab
from tabs.helloworld import hello_world_tab
from tabs.chatbot import chatbot_tab
from tabs.openai import openai_tab
gr.close_all()
css_string = """
#ddd1233 .user {
min-width: 100px;
max-width: 500px;
width: auto;
}
#ddd1233 .bot {
min-width: 100px;
max-width: 500px;
width: auto;
}
"""
with gr.Blocks(css=css_string) as demo:
gr.Markdown("""
# gradio分享呀
""")
hello_world_tab()
audit_tab()
ocr_tab()
chatbot_tab()
openai_tab()
demo.launch()