Spaces:
Running
Running
update req
Browse files- README.md +1 -1
- app.py +1 -1
- requirements.txt +2 -1
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: MiniCPM-V-
|
3 |
emoji: 💬
|
4 |
colorFrom: yellow
|
5 |
colorTo: purple
|
|
|
1 |
---
|
2 |
+
title: MiniCPM-V-2_6
|
3 |
emoji: 💬
|
4 |
colorFrom: yellow
|
5 |
colorTo: purple
|
app.py
CHANGED
@@ -475,7 +475,7 @@ with gr.Blocks(css=css) as demo:
|
|
475 |
|
476 |
with gr.Column(scale=3, min_width=500):
|
477 |
app_session = gr.State({'sts':None,'ctx':[], 'images_cnt': 0, 'videos_cnt': 0, 'chat_type': 'Chat'})
|
478 |
-
chat_bot = mgr.Chatbot(label=f"Chat with {model_name}", value=copy.deepcopy(init_conversation), height=
|
479 |
|
480 |
with gr.Tab("Chat") as chat_tab:
|
481 |
txt_message = create_multimodal_input()
|
|
|
475 |
|
476 |
with gr.Column(scale=3, min_width=500):
|
477 |
app_session = gr.State({'sts':None,'ctx':[], 'images_cnt': 0, 'videos_cnt': 0, 'chat_type': 'Chat'})
|
478 |
+
chat_bot = mgr.Chatbot(label=f"Chat with {model_name}", value=copy.deepcopy(init_conversation), height=560, flushing=False, bubble_full_width=False)
|
479 |
|
480 |
with gr.Tab("Chat") as chat_tab:
|
481 |
txt_message = create_multimodal_input()
|
requirements.txt
CHANGED
@@ -4,9 +4,10 @@ torchvision==0.16.2
|
|
4 |
transformers==4.40.2
|
5 |
sentencepiece==0.1.99
|
6 |
https://github.com/Dao-AILab/flash-attention/releases/download/v2.6.2/flash_attn-2.6.2+cu123torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
7 |
-
opencv-python
|
8 |
decord
|
9 |
#gradio==4.22.0
|
10 |
gradio==4.41.0
|
11 |
http://thunlp.oss-cn-qingdao.aliyuncs.com/multi_modal/never_delete/modelscope_studio-0.4.0.9-py3-none-any.whl
|
12 |
accelerate
|
|
|
|
4 |
transformers==4.40.2
|
5 |
sentencepiece==0.1.99
|
6 |
https://github.com/Dao-AILab/flash-attention/releases/download/v2.6.2/flash_attn-2.6.2+cu123torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
7 |
+
opencv-python==4.10.0.84
|
8 |
decord
|
9 |
#gradio==4.22.0
|
10 |
gradio==4.41.0
|
11 |
http://thunlp.oss-cn-qingdao.aliyuncs.com/multi_modal/never_delete/modelscope_studio-0.4.0.9-py3-none-any.whl
|
12 |
accelerate
|
13 |
+
numpy==1.24.4
|