Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -277,7 +277,20 @@ with demo:
|
|
| 277 |
with gr.Row():
|
| 278 |
prev_button = gr.Button("Prev")
|
| 279 |
next_button = gr.Button("Next")
|
| 280 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 281 |
# Load papers on app start
|
| 282 |
demo.load(initialize_app, outputs=[paper_list])
|
| 283 |
|
|
@@ -296,4 +309,4 @@ with demo:
|
|
| 296 |
</script>
|
| 297 |
""")
|
| 298 |
|
| 299 |
-
demo.launch()
|
|
|
|
| 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])
|
| 296 |
|
|
|
|
| 309 |
</script>
|
| 310 |
""")
|
| 311 |
|
| 312 |
+
demo.launch()
|