Spaces:
Runtime error
Runtime error
Update app style.
Browse files
app.py
CHANGED
@@ -26,9 +26,9 @@ title_markdown = ("""
|
|
26 |
|
27 |
|
28 |
<div align="center">
|
29 |
-
<div style="display:flex; gap: 0.25rem;" align="center">
|
30 |
<a href="https://github.com/DAMO-NLP-SG/VideoLLaMA2"><img src='https://img.shields.io/badge/Github-VideoLLaMA2-9C276A'></a>
|
31 |
-
<a href="https://arxiv.org/pdf/2406.07476.pdf"><img src="https://img.shields.io/badge/Arxiv-2406.07476-
|
32 |
<a href="https://github.com/DAMO-NLP-SG/VideoLLaMA2/stargazers"><img src="https://img.shields.io/github/stars/DAMO-NLP-SG/VideoLLaMA2.svg?style=social"></a>
|
33 |
</div>
|
34 |
</div>
|
@@ -225,7 +225,7 @@ handler = Chat(model_path, conv_mode=conv_mode, load_8bit=False, load_4bit=True)
|
|
225 |
|
226 |
textbox = gr.Textbox(show_label=False, placeholder="Enter text and press ENTER", container=False)
|
227 |
|
228 |
-
with gr.Blocks(title='VideoLLaMA 2 π₯ππ₯', theme=gr.themes.Default(primary_hue=
|
229 |
gr.Markdown(title_markdown)
|
230 |
state = gr.State()
|
231 |
state_ = gr.State()
|
|
|
26 |
|
27 |
|
28 |
<div align="center">
|
29 |
+
<div style="display:flex; gap: 0.25rem; margin-top: 10px;" align="center">
|
30 |
<a href="https://github.com/DAMO-NLP-SG/VideoLLaMA2"><img src='https://img.shields.io/badge/Github-VideoLLaMA2-9C276A'></a>
|
31 |
+
<a href="https://arxiv.org/pdf/2406.07476.pdf"><img src="https://img.shields.io/badge/Arxiv-2406.07476-AD1C18"></a>
|
32 |
<a href="https://github.com/DAMO-NLP-SG/VideoLLaMA2/stargazers"><img src="https://img.shields.io/github/stars/DAMO-NLP-SG/VideoLLaMA2.svg?style=social"></a>
|
33 |
</div>
|
34 |
</div>
|
|
|
225 |
|
226 |
textbox = gr.Textbox(show_label=False, placeholder="Enter text and press ENTER", container=False)
|
227 |
|
228 |
+
with gr.Blocks(title='VideoLLaMA 2 π₯ππ₯', theme=gr.themes.Default(primary_hue=gr.themes.colors.red), css=block_css) as demo:
|
229 |
gr.Markdown(title_markdown)
|
230 |
state = gr.State()
|
231 |
state_ = gr.State()
|