dylanebert HF staff commited on
Commit
7ebede6
1 Parent(s): 7e2471a

scroll overflow

Browse files
src/routes/+page.svelte CHANGED
@@ -48,20 +48,26 @@
48
  </div>
49
  {/if}
50
 
51
- {#if currentView === "Leaderboard"}
52
- <Leaderboard onEntryClick={showModelDetails} />
53
- {:else if currentView === "Vote"}
54
- <Vote />
55
- {:else if currentView === "ModelDetails" && selectedEntry}
56
- <ModelDetails
57
- modelName={selectedEntry.name}
58
- modelPath={selectedEntry.path}
59
- onBack={() => (currentView = "Leaderboard")}
60
- onSceneClick={showScene}
61
- />
62
- {:else if currentView === "Viewer" && selectedScene && selectedEntry}
63
- <Viewer modelName={selectedEntry.name} scene={selectedScene} onBack={() => (currentView = "ModelDetails")} />
64
- {:else if currentView === "About"}
65
- <About />
66
- {/if}
 
 
 
 
 
 
67
  </div>
 
48
  </div>
49
  {/if}
50
 
51
+ <div class="content">
52
+ {#if currentView === "Leaderboard"}
53
+ <Leaderboard onEntryClick={showModelDetails} />
54
+ {:else if currentView === "Vote"}
55
+ <Vote />
56
+ {:else if currentView === "ModelDetails" && selectedEntry}
57
+ <ModelDetails
58
+ modelName={selectedEntry.name}
59
+ modelPath={selectedEntry.path}
60
+ onBack={() => (currentView = "Leaderboard")}
61
+ onSceneClick={showScene}
62
+ />
63
+ {:else if currentView === "Viewer" && selectedScene && selectedEntry}
64
+ <Viewer
65
+ modelName={selectedEntry.name}
66
+ scene={selectedScene}
67
+ onBack={() => (currentView = "ModelDetails")}
68
+ />
69
+ {:else if currentView === "About"}
70
+ <About />
71
+ {/if}
72
+ </div>
73
  </div>
src/routes/About.svelte CHANGED
@@ -1,54 +1,53 @@
1
- <div class="about">
2
- <div class="section" style="padding: 10px 0;">
3
- <p class="muted">
4
- The <span class="emphasis">IGF</span> (In-Game Footage) leaderboard evaluates leading generative 3D models.
5
- It is inspired by
6
- <a class="emphasis" target="_blank" href="https://huggingface.co/spaces/TTS-AGI/TTS-Arena">TTS-Arena</a>
7
- and
8
- <a class="emphasis" target="_blank" href="https://chat.lmsys.org/">Chatbot Arena</a>.
9
- </p>
10
- </div>
11
- <div class="section">
12
- <h3 class="emphasis">Motivation</h3>
13
- <p class="muted">
14
- Evaluating generated 3D quality quantitatively is challenging, and there is no standard practice for
15
- reporting critical factors like mesh topology in real-world applications.
16
- </p>
17
- <p class="muted">This leaderboard displays usable, final results side-by-side for the community to rank.</p>
18
- </div>
19
- <div class="section">
20
- <h3 class="emphasis">Criteria</h3>
21
- <p class="muted">
22
- Models must handle <span class="emphasis">image</span> (.png, .jpg) inputs and produce
23
- <span class="emphasis">mesh</span>
24
- (.obj, .glb) or <span class="emphasis">splat</span> (.splat, .ply) outputs. They should run end-to-end without
25
- human intervention, including UV unwrapping, texture mapping, and other post-processing.
26
- </p>
27
- <p class="muted">
28
- To preview how your results will look in the leaderboard, upload them to any <a
29
- class="emphasis"
30
- target="_blank"
31
- href="https://huggingface.co/spaces/gradio/model3D">gradio/model3d</a
32
- > viewer.
33
- </p>
34
- </div>
35
- <div class="section">
36
- <h3 class="emphasis">Contributing</h3>
37
- <p class="muted">
38
- All inputs and outputs are publicly available <a
39
- class="emphasis"
40
- target="_blank"
41
- href="https://huggingface.co/datasets/dylanebert/3d-arena">here</a
42
- >.
43
- </p>
44
- <p class="muted">
45
- To contribute a model, run your model on all input images and create a pull request with your model's
46
- output. Refer to other examples in the dataset to understand the expected format.
47
- </p>
48
- </div>
49
- <div class="section">
50
- <h3 class="emphasis">Citing</h3>
51
- <pre>
52
  <code>
53
  @misc&lbrace;igf-leaderboard,
54
  author = &lbrace;Dylan Ebert&rbrace;
@@ -59,5 +58,4 @@
59
  &rbrace;
60
  </code>
61
  </pre>
62
- </div>
63
  </div>
 
1
+ <div class="section" style="padding: 10px 0;">
2
+ <p class="muted">
3
+ The <span class="emphasis">IGF</span> (In-Game Footage) leaderboard evaluates leading generative 3D models. It
4
+ is inspired by
5
+ <a class="emphasis" target="_blank" href="https://huggingface.co/spaces/TTS-AGI/TTS-Arena">TTS-Arena</a>
6
+ and
7
+ <a class="emphasis" target="_blank" href="https://chat.lmsys.org/">Chatbot Arena</a>.
8
+ </p>
9
+ </div>
10
+ <div class="section">
11
+ <h3 class="emphasis">Motivation</h3>
12
+ <p class="muted">
13
+ Evaluating generated 3D quality quantitatively is challenging, and there is no standard practice for reporting
14
+ critical factors like mesh topology in real-world applications.
15
+ </p>
16
+ <p class="muted">This leaderboard displays usable, final results side-by-side for the community to rank.</p>
17
+ </div>
18
+ <div class="section">
19
+ <h3 class="emphasis">Criteria</h3>
20
+ <p class="muted">
21
+ Models must handle <span class="emphasis">image</span> (.png, .jpg) inputs and produce
22
+ <span class="emphasis">mesh</span>
23
+ (.obj, .glb) or <span class="emphasis">splat</span> (.splat, .ply) outputs. They should run end-to-end without human
24
+ intervention, including UV unwrapping, texture mapping, and other post-processing.
25
+ </p>
26
+ <p class="muted">
27
+ To preview how your results will look in the leaderboard, upload them to any <a
28
+ class="emphasis"
29
+ target="_blank"
30
+ href="https://huggingface.co/spaces/gradio/model3D">gradio/model3d</a
31
+ > viewer.
32
+ </p>
33
+ </div>
34
+ <div class="section">
35
+ <h3 class="emphasis">Contributing</h3>
36
+ <p class="muted">
37
+ All inputs and outputs are publicly available <a
38
+ class="emphasis"
39
+ target="_blank"
40
+ href="https://huggingface.co/datasets/dylanebert/3d-arena">here</a
41
+ >.
42
+ </p>
43
+ <p class="muted">
44
+ To contribute a model, run your model on all input images and create a pull request with your model's output.
45
+ Refer to other examples in the dataset to understand the expected format.
46
+ </p>
47
+ </div>
48
+ <div class="section">
49
+ <h3 class="emphasis">Citing</h3>
50
+ <pre>
 
51
  <code>
52
  @misc&lbrace;igf-leaderboard,
53
  author = &lbrace;Dylan Ebert&rbrace;
 
58
  &rbrace;
59
  </code>
60
  </pre>
 
61
  </div>
static/global.css CHANGED
@@ -41,11 +41,6 @@ body {
41
  font-weight: bold;
42
  }
43
 
44
- .about {
45
- overflow: auto;
46
- max-height: 100%;
47
- }
48
-
49
  .loading-container {
50
  display: flex;
51
  flex-direction: column;
@@ -103,6 +98,11 @@ body {
103
  }
104
  }
105
 
 
 
 
 
 
106
  .canvas-container {
107
  position: relative;
108
  width: 100%;
 
41
  font-weight: bold;
42
  }
43
 
 
 
 
 
 
44
  .loading-container {
45
  display: flex;
46
  flex-direction: column;
 
98
  }
99
  }
100
 
101
+ .content {
102
+ max-height: 100%;
103
+ overflow: auto;
104
+ }
105
+
106
  .canvas-container {
107
  position: relative;
108
  width: 100%;