Jinze commited on
Commit
208461f
1 Parent(s): 79dd573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -129,7 +129,7 @@ def _launch_demo(args):
129
  content = []
130
  messages.pop()
131
  responses = MultiModalConversation.call(
132
- model='qwen-vl-plus', messages=messages,
133
  seed=np.random.randint(0, np.iinfo(np.int64).max),
134
  top_p=0.001,
135
  stream=True,
@@ -208,11 +208,11 @@ def _launch_demo(args):
208
  with gr.Blocks() as demo:
209
  gr.Markdown("""\
210
  <p align="center"><img src="https://modelscope.cn/api/v1/models/qwen/Qwen-VL-Chat/repo?Revision=master&FilePath=assets/logo.jpg&View=true" style="height: 80px"/><p>""")
211
- gr.Markdown("""<center><font size=8>Qwen-VL-Plus</center>""")
212
  gr.Markdown(
213
  """\
214
- <center><font size=3>This WebUI is based on Qwen-VL-Plus, the upgraded version of Qwen-VL, developed by Alibaba Cloud.</center>""")
215
- gr.Markdown("""<center><font size=3>本WebUI基于Qwen-VL-Plus打造,这是Qwen-VL的升级版。</center>""")
216
  gr.Markdown("""\
217
  <center><font size=4> \
218
  <a href="https://github.com/QwenLM/Qwen-VL#qwen-vl-plus">Github</a>&nbsp | &nbsp
@@ -223,7 +223,7 @@ Qwen-VL-Chat <a href="https://modelscope.cn/models/qwen/Qwen-VL-Chat/summary">
223
  &nbsp Qwen-VL-Plus &nbsp <a href="https://qianwen.aliyun.com">Web</a> |
224
  <a href="https://help.aliyun.com/zh/dashscope/developer-reference/vl-plus-quick-start/">API</a></center>""")
225
 
226
- chatbot = gr.Chatbot(label='Qwen-VL-Plus', elem_classes="control-height", height=500)
227
  query = gr.Textbox(lines=2, label='Input')
228
  task_history = gr.State([])
229
 
 
129
  content = []
130
  messages.pop()
131
  responses = MultiModalConversation.call(
132
+ model='qwen-vl-max', messages=messages,
133
  seed=np.random.randint(0, np.iinfo(np.int64).max),
134
  top_p=0.001,
135
  stream=True,
 
208
  with gr.Blocks() as demo:
209
  gr.Markdown("""\
210
  <p align="center"><img src="https://modelscope.cn/api/v1/models/qwen/Qwen-VL-Chat/repo?Revision=master&FilePath=assets/logo.jpg&View=true" style="height: 80px"/><p>""")
211
+ gr.Markdown("""<center><font size=8>Qwen-VL-Max</center>""")
212
  gr.Markdown(
213
  """\
214
+ <center><font size=3>This WebUI is based on Qwen-VL-Max, the upgraded version of Qwen-VL, developed by Alibaba Cloud.</center>""")
215
+ gr.Markdown("""<center><font size=3>本WebUI基于Qwen-VL-Max,这是Qwen-VL的升级版。</center>""")
216
  gr.Markdown("""\
217
  <center><font size=4> \
218
  <a href="https://github.com/QwenLM/Qwen-VL#qwen-vl-plus">Github</a>&nbsp | &nbsp
 
223
  &nbsp Qwen-VL-Plus &nbsp <a href="https://qianwen.aliyun.com">Web</a> |
224
  <a href="https://help.aliyun.com/zh/dashscope/developer-reference/vl-plus-quick-start/">API</a></center>""")
225
 
226
+ chatbot = gr.Chatbot(label='Qwen-VL-Max', elem_classes="control-height", height=500)
227
  query = gr.Textbox(lines=2, label='Input')
228
  task_history = gr.State([])
229