chenjoya commited on
Commit
63ef71f
·
1 Parent(s): e0c12ec
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -26,6 +26,7 @@ with gr.Blocks() as demo:
26
  gr.Markdown("#### 1️⃣ Select Mode, Real-Time Commentary (LiveCC) or Conversation (Common QA)")
27
  gr.Markdown("#### 2️⃣ (Optional) Input a query. If there is no query, the default query is 'Please describe the video.' ")
28
  gr.Markdown("#### 3️⃣ Click the video, or upload a video.")
 
29
  gr_state = gr.State({}, render=False) # control all useful state, including kv cache
30
  gr_video_state = gr.JSON({}, visible=False) # only record video state, belong to gr_state but lightweight
31
  gr_static_trigger = gr.Number(value=0, visible=False) # control start streaming or stop
 
26
  gr.Markdown("#### 1️⃣ Select Mode, Real-Time Commentary (LiveCC) or Conversation (Common QA)")
27
  gr.Markdown("#### 2️⃣ (Optional) Input a query. If there is no query, the default query is 'Please describe the video.' ")
28
  gr.Markdown("#### 3️⃣ Click the video, or upload a video.")
29
+ gr.Markdown("#### Web Gradio has unexpected latency (3s~5s). If you want to enjoy the very real-time experience, please try our CLI demo https://github.com/showlab/livecc")
30
  gr_state = gr.State({}, render=False) # control all useful state, including kv cache
31
  gr_video_state = gr.JSON({}, visible=False) # only record video state, belong to gr_state but lightweight
32
  gr_static_trigger = gr.Number(value=0, visible=False) # control start streaming or stop