Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,9 +33,8 @@ title_markdown = """
|
|
| 33 |
</div>
|
| 34 |
<div align="center">
|
| 35 |
<div style="display:flex; gap: 0.25rem; margin-top: 10px;" align="center">
|
| 36 |
-
<a href=''><img src='https://img.shields.io/badge/arXiv-paper-red'></a>
|
| 37 |
<a href='https://vision-cair.github.io/LongVU/'><img src='https://img.shields.io/badge/Project-LongVU-blue'></a>
|
| 38 |
-
<a href=''><img src='https://img.shields.io/badge/model-checkpoints-
|
| 39 |
</div>
|
| 40 |
</div>
|
| 41 |
"""
|
|
@@ -323,7 +322,7 @@ with gr.Blocks(title='LongVU', theme=theme, css=block_css) as demo:
|
|
| 323 |
submit_btn.click(
|
| 324 |
generate,
|
| 325 |
[image, video, message, chatbot, textbox, temperature, top_p, max_output_tokens],
|
| 326 |
-
[image, video, message, chatbot])
|
| 327 |
|
| 328 |
textbox.submit(
|
| 329 |
generate,
|
|
|
|
| 33 |
</div>
|
| 34 |
<div align="center">
|
| 35 |
<div style="display:flex; gap: 0.25rem; margin-top: 10px;" align="center">
|
|
|
|
| 36 |
<a href='https://vision-cair.github.io/LongVU/'><img src='https://img.shields.io/badge/Project-LongVU-blue'></a>
|
| 37 |
+
<a href='https://huggingface.co/Vision-CAIR/LongVU_Qwen2_7B'><img src='https://img.shields.io/badge/model-checkpoints-yellow'></a>
|
| 38 |
</div>
|
| 39 |
</div>
|
| 40 |
"""
|
|
|
|
| 322 |
submit_btn.click(
|
| 323 |
generate,
|
| 324 |
[image, video, message, chatbot, textbox, temperature, top_p, max_output_tokens],
|
| 325 |
+
[image, video, message, chatbot, textbox])
|
| 326 |
|
| 327 |
textbox.submit(
|
| 328 |
generate,
|