dylanebert HF staff commited on
Commit
3f9905a
1 Parent(s): e74bd6b

additional model info

Browse files
viewer/src/lib/data/models.json CHANGED
@@ -2,11 +2,17 @@
2
  {
3
  "slug": "mv-dream",
4
  "title": "MVDream",
5
- "paper": "https://huggingface.co/papers/2308.16512"
 
 
 
6
  },
7
  {
8
  "slug": "sync-dreamer",
9
  "title": "SyncDreamer",
10
- "paper": "https://huggingface.co/papers/2309.03453"
 
 
 
11
  }
12
  ]
 
2
  {
3
  "slug": "mv-dream",
4
  "title": "MVDream",
5
+ "paper": "https://huggingface.co/papers/2308.16512",
6
+ "project": "https://mv-dream.github.io/",
7
+ "code": "https://github.com/bytedance/MVDream",
8
+ "spaces": []
9
  },
10
  {
11
  "slug": "sync-dreamer",
12
  "title": "SyncDreamer",
13
+ "paper": "https://huggingface.co/papers/2309.03453",
14
+ "project": "https://liuyuan-pal.github.io/SyncDreamer/",
15
+ "code": "https://github.com/liuyuan-pal/SyncDreamer",
16
+ "spaces": []
17
  }
18
  ]
viewer/src/routes/models/[slug]/+page.svelte CHANGED
@@ -5,6 +5,8 @@
5
  model: {
6
  title: string;
7
  paper: string;
 
 
8
  };
9
  scenes: {
10
  slug: string;
@@ -32,7 +34,19 @@
32
  {#if data.model.paper}
33
  <tr>
34
  <td>Paper</td>
35
- <td><a href={data.model.paper} target="_blank">Link</a></td>
 
 
 
 
 
 
 
 
 
 
 
 
36
  </tr>
37
  {/if}
38
  </table>
@@ -56,6 +70,7 @@
56
  </div>
57
 
58
  <style>
 
59
  .model-header {
60
  padding: 10px;
61
  font-size: 16px;
@@ -63,11 +78,27 @@
63
  margin: 0;
64
  }
65
 
 
 
 
 
 
 
 
 
 
 
 
66
  .table {
67
- width: auto;
 
 
 
 
68
  }
69
 
70
  .table td {
 
71
  margin: 0;
72
  padding: 10px;
73
  border-top: 1px solid #333;
@@ -75,17 +106,18 @@
75
  }
76
 
77
  .table td:first-child {
78
- min-width: 128px;
79
  background-color: #222;
80
  border-right: 1px solid #333;
81
- font-size: 16px;
82
  font-weight: bold;
83
  color: #aaa;
84
  }
85
 
86
  .table td:last-child {
87
  width: 100%;
88
- font-size: 16px;
 
89
  }
90
 
91
  .table a {
@@ -105,17 +137,6 @@
105
  justify-content: center;
106
  }
107
 
108
- .model-info {
109
- border: 1px solid #333;
110
- box-sizing: border-box;
111
- width: 100%;
112
- margin: 0;
113
-
114
- @media (min-width: 576px) {
115
- width: 384px;
116
- }
117
- }
118
-
119
  .grid {
120
  margin-top: 10px;
121
  margin-left: 0;
 
5
  model: {
6
  title: string;
7
  paper: string;
8
+ project: string;
9
+ code: string;
10
  };
11
  scenes: {
12
  slug: string;
 
34
  {#if data.model.paper}
35
  <tr>
36
  <td>Paper</td>
37
+ <td><a href={data.model.paper} target="_blank">{data.model.paper}</a></td>
38
+ </tr>
39
+ {/if}
40
+ {#if data.model.project}
41
+ <tr>
42
+ <td>Project</td>
43
+ <td><a href={data.model.project} target="_blank">{data.model.project}</a></td>
44
+ </tr>
45
+ {/if}
46
+ {#if data.model.code}
47
+ <tr>
48
+ <td>Code</td>
49
+ <td><a href={data.model.code} target="_blank">{data.model.code}</a></td>
50
  </tr>
51
  {/if}
52
  </table>
 
70
  </div>
71
 
72
  <style>
73
+
74
  .model-header {
75
  padding: 10px;
76
  font-size: 16px;
 
78
  margin: 0;
79
  }
80
 
81
+ .model-info {
82
+ border: 1px solid #333;
83
+ box-sizing: border-box;
84
+ width: 100%;
85
+ margin: 0;
86
+
87
+ @media (min-width: 576px) {
88
+ width: 384px;
89
+ }
90
+ }
91
+
92
  .table {
93
+ table-layout: fixed;
94
+ width: 100%;
95
+ margin: 0;
96
+ padding: 0;
97
+ border-collapse: collapse;
98
  }
99
 
100
  .table td {
101
+ width: 100%;
102
  margin: 0;
103
  padding: 10px;
104
  border-top: 1px solid #333;
 
106
  }
107
 
108
  .table td:first-child {
109
+ width: 128px;
110
  background-color: #222;
111
  border-right: 1px solid #333;
112
+ font-size: 14px;
113
  font-weight: bold;
114
  color: #aaa;
115
  }
116
 
117
  .table td:last-child {
118
  width: 100%;
119
+ font-size: 14px;
120
+ overflow: hidden;
121
  }
122
 
123
  .table a {
 
137
  justify-content: center;
138
  }
139
 
 
 
 
 
 
 
 
 
 
 
 
140
  .grid {
141
  margin-top: 10px;
142
  margin-left: 0;