farrell236 commited on
Commit
48851c3
·
1 Parent(s): df201d7
Files changed (1) hide show
  1. app.py +4 -9
app.py CHANGED
@@ -275,10 +275,7 @@ def _launch_demo(args, model, processor):
275
  return []
276
 
277
  with gr.Blocks() as demo:
278
- gr.Markdown("""\
279
- <p align="center"><img src="https://home.mmc.edu/wp-content/uploads/2017/10/nih-logo-color.png" style="height: 80px"/><p>
280
- <center><font size=4>Qwen2.5-VL (model_a) for OpthChat</center>
281
- """)
282
 
283
  chatbot = gr.Chatbot(label='Qwen2.5-VL', elem_classes='control-height', height=500)
284
 
@@ -309,11 +306,9 @@ def _launch_demo(args, model, processor):
309
  regen_btn.click(regenerate, [chatbot, task_history], [chatbot], show_progress=True)
310
  addfile_btn.upload(add_file, [chatbot, task_history, addfile_btn], [chatbot, task_history], show_progress=True)
311
 
312
- gr.Markdown("""\
313
- <font size=2>Note: This demo is governed by the original license of Qwen2.5-VL,
314
- WebUI based on [Qwen2.5-VL](https://github.com/QwenLM/Qwen2.5-VL/blob/main/web_demo_mm.py).
315
- Developed by Alibaba Cloud, modified by Team OpthChat
316
- """)
317
 
318
  demo.queue().launch(
319
  share=args.share,
 
275
  return []
276
 
277
  with gr.Blocks() as demo:
278
+ gr.Markdown("# Qwen2.5-VL (model_a) for OpthChat")
 
 
 
279
 
280
  chatbot = gr.Chatbot(label='Qwen2.5-VL', elem_classes='control-height', height=500)
281
 
 
306
  regen_btn.click(regenerate, [chatbot, task_history], [chatbot], show_progress=True)
307
  addfile_btn.upload(add_file, [chatbot, task_history, addfile_btn], [chatbot, task_history], show_progress=True)
308
 
309
+ gr.Markdown("##### Note: This demo is governed by the original license of Qwen2.5-VL, "
310
+ "WebUI based on [Qwen2.5-VL](https://github.com/QwenLM/Qwen2.5-VL/blob/main/web_demo_mm.py). "
311
+ "Developed by Alibaba Cloud, modified by Team OpthChat")
 
 
312
 
313
  demo.queue().launch(
314
  share=args.share,