Spaces:
Sleeping
Sleeping
File size: 363 Bytes
5e2a9f5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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()
|