Spaces:
Sleeping
Sleeping
leomaurodesenv
commited on
Commit
Β·
6618bc7
1
Parent(s):
15ea144
feat(assets): Add image logo
Browse files- app.py +6 -1
- assets/qasports-logo.png +0 -0
app.py
CHANGED
@@ -93,6 +93,11 @@ def search(pipeline, question: str):
|
|
93 |
|
94 |
|
95 |
# Streamlit interface
|
|
|
|
|
|
|
|
|
|
|
96 |
with st.status(
|
97 |
"Downloading dataset...", expanded=st.session_state.get("expanded", True)
|
98 |
) as status:
|
@@ -106,7 +111,7 @@ with st.status(
|
|
106 |
)
|
107 |
st.session_state["expanded"] = False
|
108 |
|
109 |
-
st.subheader("π
|
110 |
st.caption(
|
111 |
"""This website presents a collection of documents from the dataset named "QASports", the first large sports question answering dataset for open questions. QASports contains real data of players, teams and matches from the sports soccer, basketball and American football. It counts over 1.5 million questions and answers about 54k preprocessed, cleaned and organized documents from Wikipedia-like sources."""
|
112 |
)
|
|
|
93 |
|
94 |
|
95 |
# Streamlit interface
|
96 |
+
_, centering_column, _ = st.columns(3)
|
97 |
+
with centering_column:
|
98 |
+
st.image("assets/qasports-logo.png", use_column_width=True)
|
99 |
+
|
100 |
+
# Loading status
|
101 |
with st.status(
|
102 |
"Downloading dataset...", expanded=st.session_state.get("expanded", True)
|
103 |
) as status:
|
|
|
111 |
)
|
112 |
st.session_state["expanded"] = False
|
113 |
|
114 |
+
st.subheader("π Basketball", divider="rainbow")
|
115 |
st.caption(
|
116 |
"""This website presents a collection of documents from the dataset named "QASports", the first large sports question answering dataset for open questions. QASports contains real data of players, teams and matches from the sports soccer, basketball and American football. It counts over 1.5 million questions and answers about 54k preprocessed, cleaned and organized documents from Wikipedia-like sources."""
|
117 |
)
|
assets/qasports-logo.png
ADDED