Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -442,10 +442,22 @@ def display_marquee_controls():
|
|
442 |
}
|
443 |
|
444 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
def display_papers(papers):
|
446 |
"""Display papers with their audio controls and marquee summaries."""
|
447 |
st.write("## Research Papers")
|
448 |
-
marquee_settings =
|
449 |
|
450 |
papercount = 0
|
451 |
for paper in papers:
|
|
|
442 |
}
|
443 |
|
444 |
|
445 |
+
def display_marquee_controls_papers():
|
446 |
+
return {
|
447 |
+
"background": "#1E1E1E",
|
448 |
+
"color": "#1E1E1E",
|
449 |
+
"font-size": f"24px",
|
450 |
+
"animationDuration": f"20s",
|
451 |
+
"width": "100%",
|
452 |
+
"lineHeight": "35px"
|
453 |
+
}
|
454 |
+
|
455 |
+
|
456 |
+
|
457 |
def display_papers(papers):
|
458 |
"""Display papers with their audio controls and marquee summaries."""
|
459 |
st.write("## Research Papers")
|
460 |
+
marquee_settings = display_marquee_controls_papers()
|
461 |
|
462 |
papercount = 0
|
463 |
for paper in papers:
|