happy8825 commited on
Commit
71af0e4
ยท
verified ยท
1 Parent(s): 5fa49da

Switch organization card app to Gradio

Browse files
Files changed (2) hide show
  1. README.md +3 -3
  2. app.py +72 -0
README.md CHANGED
@@ -3,8 +3,8 @@ title: VideoSearch-R1
3
  emoji: ๐Ÿ”Ž
4
  colorFrom: blue
5
  colorTo: purple
6
- sdk: static
7
- app_file: index.html
8
  pinned: false
9
  license: apache-2.0
10
  short_description: Video retrieval with SQR.
@@ -19,7 +19,7 @@ short_description: Video retrieval with SQR.
19
  <p>
20
  <a href="https://github.com/mlvlab/VideoSearch-R1"><img src="https://img.shields.io/badge/GitHub-Code-181717?style=for-the-badge&logo=github" alt="GitHub"></a>
21
  <a href="https://mlvlab.github.io/VideoSearch-R1/"><img src="https://img.shields.io/badge/Project-Page-2b4f9e?style=for-the-badge" alt="Project Page"></a>
22
- <a href="https://huggingface.co/VideoSearchR1"><img src="https://img.shields.io/badge/Hugging%20Face-Models-ffcc4d?style=for-the-badge" alt="Hugging Face"></a>
23
  <img src="https://img.shields.io/badge/ECCV-2026-4c6fff?style=for-the-badge" alt="ECCV 2026">
24
  </p>
25
 
 
3
  emoji: ๐Ÿ”Ž
4
  colorFrom: blue
5
  colorTo: purple
6
+ sdk: gradio
7
+ app_file: app.py
8
  pinned: false
9
  license: apache-2.0
10
  short_description: Video retrieval with SQR.
 
19
  <p>
20
  <a href="https://github.com/mlvlab/VideoSearch-R1"><img src="https://img.shields.io/badge/GitHub-Code-181717?style=for-the-badge&logo=github" alt="GitHub"></a>
21
  <a href="https://mlvlab.github.io/VideoSearch-R1/"><img src="https://img.shields.io/badge/Project-Page-2b4f9e?style=for-the-badge" alt="Project Page"></a>
22
+ <img src="https://img.shields.io/badge/arXiv-Coming%20Soon-b31b1b?style=for-the-badge" alt="arXiv Coming Soon">
23
  <img src="https://img.shields.io/badge/ECCV-2026-4c6fff?style=for-the-badge" alt="ECCV 2026">
24
  </p>
25
 
app.py ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ CSS = """
4
+ :root, body, .gradio-container {
5
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
6
+ }
7
+ .gradio-container { background: linear-gradient(135deg, #f8fafc, #eef2ff 55%, #f5f3ff) !important; }
8
+ .hero {
9
+ max-width: 880px;
10
+ margin: 0 auto;
11
+ padding: 52px 24px;
12
+ color: #111827;
13
+ }
14
+ .badge {
15
+ display: inline-flex;
16
+ align-items: center;
17
+ padding: 7px 11px;
18
+ border-radius: 999px;
19
+ background: #dbeafe;
20
+ color: #1d4ed8;
21
+ font-weight: 800;
22
+ font-size: 0.9rem;
23
+ margin-bottom: 18px;
24
+ }
25
+ h1 {
26
+ margin: 0 0 14px;
27
+ font-size: clamp(2rem, 4.2vw, 3.2rem);
28
+ line-height: 1.05;
29
+ letter-spacing: 0;
30
+ color: #0f172a;
31
+ }
32
+ .lead {
33
+ max-width: 760px;
34
+ margin: 0;
35
+ font-size: 1.08rem;
36
+ line-height: 1.7;
37
+ color: #1f2937;
38
+ font-weight: 500;
39
+ }
40
+ .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
41
+ .button {
42
+ text-decoration: none !important;
43
+ padding: 11px 15px;
44
+ border-radius: 8px;
45
+ border: 1px solid #c7d2fe;
46
+ background: #ffffff;
47
+ color: #111827 !important;
48
+ font-weight: 800;
49
+ box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
50
+ }
51
+ .button.primary { background: #4f46e5; color: #ffffff !important; border-color: #4f46e5; }
52
+ .button.muted { background: #f8fafc; color: #4b5563 !important; border-color: #d1d5db; cursor: default; }
53
+ """
54
+
55
+ HTML = """
56
+ <main class="hero">
57
+ <div class="badge">ECCV 2026</div>
58
+ <h1>Welcome to VideoSearch-R1</h1>
59
+ <p class="lead">Iterative video retrieval and reasoning via Soft Query Refinement. VideoSearch-R1 retrieves, verifies, refines, and grounds video moments over large video corpora.</p>
60
+ <div class="actions">
61
+ <a class="button primary" href="https://github.com/mlvlab/VideoSearch-R1" target="_blank" rel="noreferrer">GitHub Repository</a>
62
+ <a class="button" href="https://mlvlab.github.io/VideoSearch-R1/" target="_blank" rel="noreferrer">Project Page</a>
63
+ <span class="button muted">Arxiv Coming Soon</span>
64
+ </div>
65
+ </main>
66
+ """
67
+
68
+ with gr.Blocks(css=CSS, fill_width=True) as demo:
69
+ gr.HTML(HTML)
70
+
71
+ if __name__ == "__main__":
72
+ demo.launch()