khang119966 commited on
Commit
0c2ddc5
·
verified ·
1 Parent(s): 6155e84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -155,6 +155,7 @@ CSS ="""
155
  with gr.Blocks(css=CSS) as demo:
156
  chatbot = gr.ChatInterface(
157
  fn=chat,
 
158
  description="""Try [Vintern-1B](https://huggingface.co/5CD-AI/Viet-InternVL2-1B) in this demo. Vintern 1B is a multimodal large language model series, featuring models of various sizes. For each size, we release instruction-tuned models optimized for multimodal tasks. Vintern-1B consists of [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px), an MLP projector, and [Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct).""",
159
  examples=[{"text": "Mô tả hình ảnh.", "files":["./demo_3.jpg"]},
160
  {"text": "Trích xuất các thông tin từ ảnh.", "files":["./demo_1.jpg"]},
 
155
  with gr.Blocks(css=CSS) as demo:
156
  chatbot = gr.ChatInterface(
157
  fn=chat,
158
+ chatbot = gr.Chatbot(height=500)
159
  description="""Try [Vintern-1B](https://huggingface.co/5CD-AI/Viet-InternVL2-1B) in this demo. Vintern 1B is a multimodal large language model series, featuring models of various sizes. For each size, we release instruction-tuned models optimized for multimodal tasks. Vintern-1B consists of [InternViT-300M-448px](https://huggingface.co/OpenGVLab/InternViT-300M-448px), an MLP projector, and [Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct).""",
160
  examples=[{"text": "Mô tả hình ảnh.", "files":["./demo_3.jpg"]},
161
  {"text": "Trích xuất các thông tin từ ảnh.", "files":["./demo_1.jpg"]},