baohuynhbk14 commited on
Commit
c950476
·
1 Parent(s): 50648c9

Add detailed description section to demo in app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -338,13 +338,16 @@ title_html = """
338
  <div style="text-align: center;">
339
  <img src="https://cdn-uploads.huggingface.co/production/uploads/6336b5c831efcb5647f00170/-G297bBqMzYvTbD6_Bkd9.png" style="height: 95px; width: 100%;">
340
  <p style="font-size: 20px;">❄️Vintern-1B-v3_5❄️</p>
341
- <p style="font-size: 14px;">An Efficient Multimodal Large Language Model for Vietnamese🇻🇳</p>
342
- <p style="font-size: 12px;">Vintern-1B-v3.5 is the latest in the Vintern series, bringing major improvements over v2 across all benchmarks. This continuous fine-tuning Version enhances Vietnamese capabilities while retaining strong English performance. It excels in OCR, text recognition, and Vietnam-specific document understanding.</p>
343
  <a href="https://huggingface.co/papers/2408.12480" style="font-size: 13px;">[📖 Vintern Paper]</a>
344
  <a href="https://huggingface.co/5CD-AI" style="font-size: 13px;">[🤗 Huggingface]</a>
345
  </div>
346
  """
347
 
 
 
 
 
 
348
 
349
  tos_markdown = """
350
  ### Terms of use
@@ -557,6 +560,8 @@ def build_demo():
557
  value="🔄 Regenerate", interactive=False
558
  )
559
  clear_btn = gr.Button(value="🗑️ Clear", interactive=False)
 
 
560
 
561
  gr.Markdown(tos_markdown)
562
  url_params = gr.JSON(visible=False)
 
338
  <div style="text-align: center;">
339
  <img src="https://cdn-uploads.huggingface.co/production/uploads/6336b5c831efcb5647f00170/-G297bBqMzYvTbD6_Bkd9.png" style="height: 95px; width: 100%;">
340
  <p style="font-size: 20px;">❄️Vintern-1B-v3_5❄️</p>
 
 
341
  <a href="https://huggingface.co/papers/2408.12480" style="font-size: 13px;">[📖 Vintern Paper]</a>
342
  <a href="https://huggingface.co/5CD-AI" style="font-size: 13px;">[🤗 Huggingface]</a>
343
  </div>
344
  """
345
 
346
+ description_html = """
347
+ <div style="text-align: center;">
348
+ <p style="font-size: 14px;">An Efficient Multimodal Large Language Model for Vietnamese🇻🇳</p>
349
+ </div>
350
+ """
351
 
352
  tos_markdown = """
353
  ### Terms of use
 
560
  value="🔄 Regenerate", interactive=False
561
  )
562
  clear_btn = gr.Button(value="🗑️ Clear", interactive=False)
563
+ with gr.Row():
564
+ gr.HTML(description_html)
565
 
566
  gr.Markdown(tos_markdown)
567
  url_params = gr.JSON(visible=False)