ClownRat commited on
Commit
08f600a
β€’
1 Parent(s): 3a8bd09

Support queue gradio demo.

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -21,7 +21,6 @@ title_markdown = ("""
21
  <div>
22
  <h1 >VideoLLaMA 2: Advancing Spatial-Temporal Modeling and Audio Understanding in Video-LLMs</h1>
23
  <h5 style="margin: 0;">If this demo please you, please give us a star ⭐ on Github or πŸ’– on this space.</h5>
24
- <h6 style="margin: 0;">Note that the current demo only supports <b>vision input</b> and <b>single-turn conversation</b>. More features will be available soon.</h6>
25
  </div>
26
  </div>
27
 
@@ -362,4 +361,4 @@ with gr.Blocks(title='VideoLLaMA 2 πŸ”₯πŸš€πŸ”₯', theme=theme, css=block_css) as
362
  [state, state_],
363
  [image, video, chatbot, state, state_, textbox])
364
 
365
- demo.launch()
 
21
  <div>
22
  <h1 >VideoLLaMA 2: Advancing Spatial-Temporal Modeling and Audio Understanding in Video-LLMs</h1>
23
  <h5 style="margin: 0;">If this demo please you, please give us a star ⭐ on Github or πŸ’– on this space.</h5>
 
24
  </div>
25
  </div>
26
 
 
361
  [state, state_],
362
  [image, video, chatbot, state, state_, textbox])
363
 
364
+ demo.launch(enable_queue=True)