Test / app.py
KevinNuNu
test
5e2a9f5
raw
history blame
363 Bytes
import gradio as gr
from lmdeploy.serve.gradio.app import *
with gr.Blocks(css=CSS, theme=THEME) as demo:
state_chatbot = gr.State([])
with gr.Column(elem_id='container'):
gr.Markdown('## LMDeploy Playground')
# print(f'server is gonna mount on: http://{server_name}:{server_port}')
demo.queue(concurrency_count=10, max_size=100).launch()