Spaces:
Sleeping
Sleeping
Upload gradio_streamingllm.py
Browse files- gradio_streamingllm.py +1 -1
gradio_streamingllm.py
CHANGED
@@ -99,7 +99,7 @@ with gr.Blocks() as chatting:
|
|
99 |
cfg['chatbot'] = gr.Chatbot(height='60vh', scale=2, value=cfg['chatbot'],
|
100 |
avatar_images=(r'assets/user.png', r'assets/chatbot.webp'))
|
101 |
with gr.Column(scale=1, elem_id="area"):
|
102 |
-
cfg['rag'] = gr.Textbox(label='RAG', show_copy_button=True, elem_id="RAG-area")
|
103 |
cfg['vo'] = gr.Textbox(label='VO', show_copy_button=True, elem_id="VO-area")
|
104 |
cfg['s_info'] = gr.Textbox(value=cfg['model'].venv_info, max_lines=1, label='info', interactive=False)
|
105 |
cfg['msg'] = gr.Textbox(label='Prompt', lines=2, max_lines=2, elem_id='prompt', autofocus=True, **cfg['msg'])
|
|
|
99 |
cfg['chatbot'] = gr.Chatbot(height='60vh', scale=2, value=cfg['chatbot'],
|
100 |
avatar_images=(r'assets/user.png', r'assets/chatbot.webp'))
|
101 |
with gr.Column(scale=1, elem_id="area"):
|
102 |
+
cfg['rag'] = gr.Textbox(label='RAG', lines=2, show_copy_button=True, elem_id="RAG-area")
|
103 |
cfg['vo'] = gr.Textbox(label='VO', show_copy_button=True, elem_id="VO-area")
|
104 |
cfg['s_info'] = gr.Textbox(value=cfg['model'].venv_info, max_lines=1, label='info', interactive=False)
|
105 |
cfg['msg'] = gr.Textbox(label='Prompt', lines=2, max_lines=2, elem_id='prompt', autofocus=True, **cfg['msg'])
|