Skip to content

Commit a74611e

Browse files
author
Xiaoyi
committed
update README and demo link
1 parent 608f010 commit a74611e

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![arXiv](https://img.shields.io/badge/arXiv-2504.16082-A42C25?style=flat&logo=arXiv&logoColor=A42C25)](https://arxiv.org/abs/2505.18079)
44
[![License](https://img.shields.io/badge/License-MIT-red.svg)](https://opensource.org/licenses/MIT)
5-
[![Hugging Face Spaces](https://img.shields.io/badge/Spaces-Demo-blueviolet?logo=huggingface&logoColor=white)](TODO)
5+
[![Hugging Face Spaces](https://img.shields.io/badge/Spaces-Demo-blueviolet?logo=huggingface&logoColor=white)](https://2b295b16087857c68f.gradio.live/)
66

77

88
This repository contains the official implementation of the paper [Deep Video Discovery: Agentic Search with Tool Use for Long-form Video Understanding](https://arxiv.org/abs/2505.18079), which achieves the state-of-the-art performance by a large margin on multiple long video benchmarks including the challenging [LVBench](https://lvbench.github.io/).

app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def _prepare_video_assets(video_url: str):
4242
captions_dir = os.path.join(config.VIDEO_DATABASE_FOLDER, video_id, "captions")
4343
video_db_path= os.path.join(config.VIDEO_DATABASE_FOLDER, video_id, "database.json")
4444
srt_path = os.path.join(config.VIDEO_DATABASE_FOLDER, video_id, "subtitles.srt")
45+
os.makedirs(os.path.join(config.VIDEO_DATABASE_FOLDER, "raw"), exist_ok=True)
46+
os.makedirs(frames_dir, exist_ok=True)
47+
os.makedirs(captions_dir, exist_ok=True)
4548

4649
if config.LITE_MODE:
4750
if not os.path.exists(srt_path):
@@ -126,7 +129,7 @@ def solve(video_url: str, question: str):
126129

127130
# Add final answer if found
128131
if final_answer:
129-
accumulated_text += f"### ✅📃 **Final Answer:**\n\n{final_answer}"
132+
accumulated_text += f"\n### 📃✅ **Final Answer:**\n\n{final_answer}"
130133
else:
131134
accumulated_text += "\n\n---\n### ✅ **Analysis Complete!**"
132135

0 commit comments

Comments
 (0)