Spaces:
Running
on
Zero
Running
on
Zero
fix
Browse files
app.py
CHANGED
@@ -22,7 +22,10 @@ gradio_backend = GradioBackend()
|
|
22 |
|
23 |
with gr.Blocks() as demo:
|
24 |
gr.Markdown("## LiveCC Real-Time Commentary and Conversation - Gradio Demo")
|
25 |
-
gr.Markdown("
|
|
|
|
|
|
|
26 |
gr_state = gr.State({}, render=False) # control all useful state, including kv cache
|
27 |
gr_video_state = gr.JSON({}, visible=False) # only record video state, belong to gr_state but lightweight
|
28 |
gr_static_trigger = gr.Number(value=0, visible=False) # control start streaming or stop
|
|
|
22 |
|
23 |
with gr.Blocks() as demo:
|
24 |
gr.Markdown("## LiveCC Real-Time Commentary and Conversation - Gradio Demo")
|
25 |
+
gr.Markdown("### [LiveCC: Learning Video LLM with Streaming Speech Transcription at Scale (CVPR 2025)](https://showlab.github.io/livecc/)")
|
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
|