Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -255,6 +255,19 @@ demo = gr.Blocks(css=css)
|
|
| 255 |
|
| 256 |
with demo:
|
| 257 |
with gr.Column(elem_classes=["container"]):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
# Header with Refresh Button
|
| 259 |
with gr.Row():
|
| 260 |
gr.HTML("""
|
|
@@ -277,19 +290,7 @@ with demo:
|
|
| 277 |
with gr.Row():
|
| 278 |
prev_button = gr.Button("Prev")
|
| 279 |
next_button = gr.Button("Next")
|
| 280 |
-
# Accordion for Submission Instructions
|
| 281 |
-
with gr.Accordion("How to Submit a Paper", open=False):
|
| 282 |
-
gr.Markdown("""
|
| 283 |
-
### Steps to Submit Your Paper
|
| 284 |
-
|
| 285 |
-
**Step 1:** Search for your paper index on Hugging Face:
|
| 286 |
-
[https://huggingface.co/papers?search=true](https://huggingface.co/papers?search=true)
|
| 287 |
-
|
| 288 |
-
**Step 2:** Submit the paper to Daily Papers:
|
| 289 |
-
[https://huggingface.co/papers](https://huggingface.co/papers)
|
| 290 |
|
| 291 |
-
Once your paper is submitted, it will automatically appear in this demo.
|
| 292 |
-
""")
|
| 293 |
|
| 294 |
# Load papers on app start
|
| 295 |
demo.load(initialize_app, outputs=[paper_list])
|
|
|
|
| 255 |
|
| 256 |
with demo:
|
| 257 |
with gr.Column(elem_classes=["container"]):
|
| 258 |
+
# Accordion for Submission Instructions
|
| 259 |
+
with gr.Accordion("How to Submit a Paper", open=False):
|
| 260 |
+
gr.Markdown("""
|
| 261 |
+
### Steps to Submit Your Paper
|
| 262 |
+
|
| 263 |
+
**Step 1:** Search for your paper index on Hugging Face:
|
| 264 |
+
[https://huggingface.co/papers?search=true](https://huggingface.co/papers?search=true)
|
| 265 |
+
|
| 266 |
+
**Step 2:** Submit the paper to Daily Papers:
|
| 267 |
+
[https://huggingface.co/papers](https://huggingface.co/papers)
|
| 268 |
+
|
| 269 |
+
Once your paper is submitted, it will automatically appear in this demo.
|
| 270 |
+
""")
|
| 271 |
# Header with Refresh Button
|
| 272 |
with gr.Row():
|
| 273 |
gr.HTML("""
|
|
|
|
| 290 |
with gr.Row():
|
| 291 |
prev_button = gr.Button("Prev")
|
| 292 |
next_button = gr.Button("Next")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 293 |
|
|
|
|
|
|
|
| 294 |
|
| 295 |
# Load papers on app start
|
| 296 |
demo.load(initialize_app, outputs=[paper_list])
|