demo / app.py
lvyb's picture
去掉chatbot demo
fdb4e49
raw
history blame contribute delete
638 Bytes
import os
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()
print(os.environ.get('xixi'))
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()