Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -572,7 +572,7 @@ if __name__ == '__main__':
|
|
572 |
|
573 |
chat = gr.Chatbot(
|
574 |
type='messages',
|
575 |
-
height='
|
576 |
avatar_images=[f'{path}/assets/user.png', f'{path}/assets/bot.png'],
|
577 |
placeholder='A conversation with VideoMind',
|
578 |
label='VideoMind')
|
@@ -594,11 +594,8 @@ if __name__ == '__main__':
|
|
594 |
value=['pla', 'gnd', 'ver', 'ans'],
|
595 |
interactive=True,
|
596 |
elem_id='role',
|
597 |
-
label='
|
598 |
-
info='
|
599 |
-
'[Grounded Video Question-Answering]: Grounder + Verifier + Answerer<br>'
|
600 |
-
'[Video Temporal Grounding]: Grounder + Verifier<br>'
|
601 |
-
'[Direct Video Question-Answering]: Answerer<br>')
|
602 |
role.change(update_placeholder, role, prompt)
|
603 |
|
604 |
with gr.Accordion(label='Hyperparameters', open=False):
|
|
|
572 |
|
573 |
chat = gr.Chatbot(
|
574 |
type='messages',
|
575 |
+
height='70vh',
|
576 |
avatar_images=[f'{path}/assets/user.png', f'{path}/assets/bot.png'],
|
577 |
placeholder='A conversation with VideoMind',
|
578 |
label='VideoMind')
|
|
|
594 |
value=['pla', 'gnd', 'ver', 'ans'],
|
595 |
interactive=True,
|
596 |
elem_id='role',
|
597 |
+
label='Roles',
|
598 |
+
info='Select the role(s) you would like to activate.')
|
|
|
|
|
|
|
599 |
role.change(update_placeholder, role, prompt)
|
600 |
|
601 |
with gr.Accordion(label='Hyperparameters', open=False):
|