EasySci commited on
Commit
636459d
·
1 Parent(s): 19b5d6b

Update TLDR.py

Browse files
Files changed (1) hide show
  1. TLDR.py +9 -3
TLDR.py CHANGED
@@ -67,10 +67,16 @@ def update_mainTLDR(buttons_to_add, paper_list):
67
  category_content = []
68
  for paper in paper_list[i]:
69
  tldr_start_string = "Abstract: <latex_string>"
70
-
71
- print(paper.summary, flush = True)
 
 
 
 
 
 
72
  paper_title = f"## {paper.title}"
73
- paper_tldr = pn.pane.LaTeX(tldr_start_string.replace("<latex_string>", rf"{paper.summary}"))
74
  paper_date = "### " + (paper.published).strftime("%d/%m/%Y %H:%M:%S")
75
 
76
  paper_content = pn.Column(
 
67
  category_content = []
68
  for paper in paper_list[i]:
69
  tldr_start_string = "Abstract: <latex_string>"
70
+ teste = """Friedman-Lemaitre-Robertson-Walker (FLRW) metric to the dispersion measure of
71
+ the intergalactic medium ${\rm{DM}}_{\rm{IGM}}(z)$ of Fast Radio Bursts (FRBs),
72
+ we obtain the Taylor expansion of $\langle{\rm{DM}}_{\rm{IGM}}(z)\rangle$ in
73
+ terms redshift $z$. The result for Hubble constant $H_0=65.5^{+6.4}_{-5.4}$
74
+ ${\rm{km~s^{-1}~Mpc^{-1}}}$ $(68$$\%$ ${\rm{C.L.}}) $, cosmological
75
+ deceleration parameter $q_0=-0.50\pm 0.20 $ and the jerk parameter
76
+ $j_0=-0.1^{+2.0}_{-2.5}$ using uncalibrated Supernova Ia (SNe Ia) Pantheon"""
77
+
78
  paper_title = f"## {paper.title}"
79
+ paper_tldr = pn.pane.LaTeX(tldr_start_string.replace("<latex_string>", rf"{teste}"))
80
  paper_date = "### " + (paper.published).strftime("%d/%m/%Y %H:%M:%S")
81
 
82
  paper_content = pn.Column(