Spaces:
Runtime error
Runtime error
Ludwig Stumpp
commited on
Commit
•
305acd7
1
Parent(s):
617d84c
Fix line break
Browse files- streamlit_app.py +5 -5
streamlit_app.py
CHANGED
@@ -151,11 +151,11 @@ def setup_benchmarks(readme: str):
|
|
151 |
selected_benchmark = st.selectbox("Select a benchmark to learn more:", df_benchmarks.index.unique())
|
152 |
df_selected = df_benchmarks.loc[selected_benchmark]
|
153 |
text = [
|
154 |
-
f"Name: {selected_benchmark}
|
155 |
]
|
156 |
for key in df_selected.keys():
|
157 |
text.append(f"{key}: {df_selected[key]} ")
|
158 |
-
st.markdown("\n".join(text))
|
159 |
|
160 |
|
161 |
def setup_sources(readme: str):
|
@@ -167,11 +167,11 @@ def setup_sources(readme: str):
|
|
167 |
selected_source = st.selectbox("Select a source to learn more:", df_sources.index.unique())
|
168 |
df_selected = df_sources.loc[selected_source]
|
169 |
text = [
|
170 |
-
f"Author: {selected_source}
|
171 |
]
|
172 |
for key in df_selected.keys():
|
173 |
-
text.append(f"{key}: {df_selected[key]}
|
174 |
-
st.markdown("\n".join(text))
|
175 |
|
176 |
|
177 |
def setup_footer():
|
|
|
151 |
selected_benchmark = st.selectbox("Select a benchmark to learn more:", df_benchmarks.index.unique())
|
152 |
df_selected = df_benchmarks.loc[selected_benchmark]
|
153 |
text = [
|
154 |
+
f"Name: {selected_benchmark}",
|
155 |
]
|
156 |
for key in df_selected.keys():
|
157 |
text.append(f"{key}: {df_selected[key]} ")
|
158 |
+
st.markdown(" \n".join(text))
|
159 |
|
160 |
|
161 |
def setup_sources(readme: str):
|
|
|
167 |
selected_source = st.selectbox("Select a source to learn more:", df_sources.index.unique())
|
168 |
df_selected = df_sources.loc[selected_source]
|
169 |
text = [
|
170 |
+
f"Author: {selected_source}",
|
171 |
]
|
172 |
for key in df_selected.keys():
|
173 |
+
text.append(f"{key}: {df_selected[key]}")
|
174 |
+
st.markdown(" \n".join(text))
|
175 |
|
176 |
|
177 |
def setup_footer():
|