mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2025-02-23 06:09:04 -05:00
fix web_demo errors
This commit is contained in:
parent
66ec91081c
commit
f139e04c4a
@ -118,8 +118,8 @@ examples_list = [
|
|||||||
[
|
[
|
||||||
[
|
[
|
||||||
"images/multi_image_1.jpeg",
|
"images/multi_image_1.jpeg",
|
||||||
"images/mi_2.jpeg",
|
"images/multi_image_2.jpeg",
|
||||||
"images/mi_3.jpeg"
|
"images/multi_image_3.jpeg"
|
||||||
],
|
],
|
||||||
"能帮我用这几个食材做一道菜吗?",
|
"能帮我用这几个食材做一道菜吗?",
|
||||||
]
|
]
|
||||||
@ -663,7 +663,8 @@ if __name__ == "__main__":
|
|||||||
demo.title = "DeepSeek-VL2 Chatbot"
|
demo.title = "DeepSeek-VL2 Chatbot"
|
||||||
|
|
||||||
reload_javascript()
|
reload_javascript()
|
||||||
demo.queue(concurrency_count=CONCURRENT_COUNT, max_size=MAX_EVENTS).launch(
|
demo.queue(#concurrency_count=CONCURRENT_COUNT, #<- for some reason this emmits an error!
|
||||||
|
max_size=MAX_EVENTS).launch(
|
||||||
# share=False,
|
# share=False,
|
||||||
share=True,
|
share=True,
|
||||||
favicon_path="deepseek_vl2/serve/assets/favicon.ico",
|
favicon_path="deepseek_vl2/serve/assets/favicon.ico",
|
||||||
|
Loading…
Reference in New Issue
Block a user