Spaces:
Runtime error
Runtime error
Commit
·
279a08c
1
Parent(s):
db7f678
vspace
Browse files
app.py
CHANGED
@@ -30,8 +30,10 @@ components.html(f"<style>{header_style_css}</style>{header_html}<script>{header_
|
|
30 |
st.markdown(meta_html, unsafe_allow_html=True)
|
31 |
st.markdown(f"<style>{content_style_css}</style>", unsafe_allow_html=True) # apply css to the rest of the document
|
32 |
|
33 |
-
def content_text(text: str,
|
34 |
-
st.markdown(f'<center><div class="padded faded main_text"
|
|
|
|
|
35 |
unsafe_allow_html=True)
|
36 |
CITATIONS = {}
|
37 |
def cite(tag):
|
@@ -47,9 +49,7 @@ took 20,000 TPU-v3 days {cite("coatnet")}. And things are even worse in the NLP
|
|
47 |
content_text(f"""
|
48 |
So, can individual researchers and small labs still train state-of-the-art? Yes we can!
|
49 |
All it takes is for a bunch of us to come together. In fact, we're doing it right now and <b>you're invited to join!</b>
|
50 |
-
""",
|
51 |
-
|
52 |
-
st.markdown("<br>", unsafe_allow_html=True)
|
53 |
|
54 |
source = get_main_metrics()
|
55 |
st.vega_lite_chart(
|
|
|
30 |
st.markdown(meta_html, unsafe_allow_html=True)
|
31 |
st.markdown(f"<style>{content_style_css}</style>", unsafe_allow_html=True) # apply css to the rest of the document
|
32 |
|
33 |
+
def content_text(text: str, vspace_before: int = 0, vspace_after: int = 0):
|
34 |
+
st.markdown(f'<center><div class="padded faded main_text" '
|
35 |
+
f'style="padding-top: {vspac_before}px;padding-bottom: {vspace_after}px;">'
|
36 |
+
f'{text}</div><center>',
|
37 |
unsafe_allow_html=True)
|
38 |
CITATIONS = {}
|
39 |
def cite(tag):
|
|
|
49 |
content_text(f"""
|
50 |
So, can individual researchers and small labs still train state-of-the-art? Yes we can!
|
51 |
All it takes is for a bunch of us to come together. In fact, we're doing it right now and <b>you're invited to join!</b>
|
52 |
+
""", vspace_before=12, vspace_after=12)
|
|
|
|
|
53 |
|
54 |
source = get_main_metrics()
|
55 |
st.vega_lite_chart(
|