舟勤 commited on
Commit
1af558a
1 Parent(s): 5733cc8
app.py CHANGED
@@ -138,19 +138,19 @@ def gradio_answer(chatbot, chat_state, img_list, num_beams, temperature):
138
  return chatbot, chat_state, img_list
139
 
140
  title = """
141
- <h1 align="center"><a href="https://github.com/DAMO-NLP-SG/Video-LLaMA"><img src="https://s1.ax1x.com/2023/05/22/p9oQ0FP.jpg", alt="Video-LLa" border="0" style="margin: 0 auto; height: 200px;" /></a> </h1>
142
 
143
- # Video-LLaMA: An Instruction-Finetuned Visual Language Model for Video Understanding
144
-
145
- This is the demo for the Video-LLaMA project, which is working on empowering large language models with video understanding capability. Upload your images/videos and start chatting!!!
146
-
147
- Continuously upgrading, stay tuned for more updates!
148
 
149
  <div style='display:flex; gap: 0.25rem; '>
 
 
 
 
150
  <a href='https://github.com/DAMO-NLP-SG/Video-LLaMA/paper.pdf'><img src='https://img.shields.io/badge/Paper-PDF-red'></a>
151
- <a href='https://github.com/DAMO-NLP-SG/Video-LLaMA'><img src='https://img.shields.io/badge/Github-Code-blue'></a>
152
  </div>
153
 
 
154
  """
155
 
156
  #TODO show examples below
@@ -198,6 +198,6 @@ with gr.Blocks() as demo:
198
  )
199
  clear.click(gradio_reset, [chat_state, img_list], [chatbot, video, image, text_input, upload_button, chat_state, img_list], queue=False)
200
 
201
- demo.launch(share=False, enable_queue=False)
202
 
203
  # %%
 
138
  return chatbot, chat_state, img_list
139
 
140
  title = """
141
+ <h1 align="center"><a href="https://github.com/DAMO-NLP-SG/Video-LLaMA"><img src="https://s1.ax1x.com/2023/05/22/p9oQ0FP.jpg", alt="Video-LLaMA" border="0" style="margin: 0 auto; height: 200px;" /></a> </h1>
142
 
143
+ <h1 align="center">Video-LLaMA: An Instruction-Finetuned Visual Language Model for Video Understanding</h1>
 
 
 
 
144
 
145
  <div style='display:flex; gap: 0.25rem; '>
146
+ <a href='https://github.com/DAMO-NLP-SG/Video-LLaMA'><img src='https://img.shields.io/badge/Github-Code-success'></a>
147
+ <a href='https://huggingface.co/spaces/DAMO-NLP-SG/Video-LLaMA'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue'></a>
148
+ <a href='https://huggingface.co/DAMO-NLP-SG/Video-LLaMA-Series'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-blue'></a>
149
+ <a href='https://modelscope.cn/studios/damo/video-llama/summary'><img src='https://img.shields.io/badge/ModelScope-Demo-blueviolet'></a>
150
  <a href='https://github.com/DAMO-NLP-SG/Video-LLaMA/paper.pdf'><img src='https://img.shields.io/badge/Paper-PDF-red'></a>
 
151
  </div>
152
 
153
+
154
  """
155
 
156
  #TODO show examples below
 
198
  )
199
  clear.click(gradio_reset, [chat_state, img_list], [chatbot, video, image, text_input, upload_button, chat_state, img_list], queue=False)
200
 
201
+ demo.launch(share=False, enable_queue=True)
202
 
203
  # %%
ckpt/finetune-vicuna7b-v2-nofrozen_imageQ.pth DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fc4b32437c90df51bc3faa29deaa9b25ab77e1707ac79066f17ae3193ebe8bfc
3
- size 1527692539