Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,15 +56,12 @@ class PaperManager:
|
|
| 56 |
return f"""
|
| 57 |
<tr class="athing">
|
| 58 |
<td align="right" valign="top" class="title"><span class="rank">{rank}.</span></td>
|
| 59 |
-
<td valign="top" class="
|
| 60 |
-
<center><div class="votearrow"></div></center>
|
| 61 |
-
</td>
|
| 62 |
-
<td class="title">
|
| 63 |
<a href="{url}" class="storylink" target="_blank">{title}</a>
|
| 64 |
</td>
|
| 65 |
</tr>
|
| 66 |
<tr>
|
| 67 |
-
<td colspan="
|
| 68 |
<td class="subtext">
|
| 69 |
<span class="score">{upvotes} upvotes</span> by {authors} | {time_ago} | <a href="#">{comments} comments</a>
|
| 70 |
</td>
|
|
@@ -160,19 +157,6 @@ table {
|
|
| 160 |
padding-right: 5px;
|
| 161 |
}
|
| 162 |
|
| 163 |
-
.votelinks {
|
| 164 |
-
width: 10px;
|
| 165 |
-
}
|
| 166 |
-
|
| 167 |
-
.votearrow {
|
| 168 |
-
width: 0;
|
| 169 |
-
height: 0;
|
| 170 |
-
border-left: 5px solid transparent;
|
| 171 |
-
border-right: 5px solid transparent;
|
| 172 |
-
border-bottom: 10px solid #828282;
|
| 173 |
-
margin: auto;
|
| 174 |
-
}
|
| 175 |
-
|
| 176 |
.storylink {
|
| 177 |
font-size: 10pt;
|
| 178 |
}
|
|
@@ -264,4 +248,4 @@ with demo:
|
|
| 264 |
</script>
|
| 265 |
""")
|
| 266 |
|
| 267 |
-
demo.launch()
|
|
|
|
| 56 |
return f"""
|
| 57 |
<tr class="athing">
|
| 58 |
<td align="right" valign="top" class="title"><span class="rank">{rank}.</span></td>
|
| 59 |
+
<td valign="top" class="title">
|
|
|
|
|
|
|
|
|
|
| 60 |
<a href="{url}" class="storylink" target="_blank">{title}</a>
|
| 61 |
</td>
|
| 62 |
</tr>
|
| 63 |
<tr>
|
| 64 |
+
<td colspan="1"></td>
|
| 65 |
<td class="subtext">
|
| 66 |
<span class="score">{upvotes} upvotes</span> by {authors} | {time_ago} | <a href="#">{comments} comments</a>
|
| 67 |
</td>
|
|
|
|
| 157 |
padding-right: 5px;
|
| 158 |
}
|
| 159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
.storylink {
|
| 161 |
font-size: 10pt;
|
| 162 |
}
|
|
|
|
| 248 |
</script>
|
| 249 |
""")
|
| 250 |
|
| 251 |
+
demo.launch()
|