Spaces:
Running
Running
Commit
·
18319a3
1
Parent(s):
d27edfe
print headers by default, do not print with query string
Browse files
app.py
CHANGED
@@ -5,17 +5,20 @@ import streamlit as st
|
|
5 |
|
6 |
from utils import get_configs, get_display_names, get_path_for_viz, get_text_str, get_meta_path
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
19 |
|
20 |
|
21 |
@st.cache_data(show_spinner="Retrieving results...")
|
@@ -164,7 +167,9 @@ def retrieve_results(selected_dataset, selected_sequence, selected_models, selec
|
|
164 |
return video_bytes
|
165 |
|
166 |
|
167 |
-
|
|
|
|
|
168 |
|
169 |
base_data_dir = "data"
|
170 |
dataset_cfg_path = os.path.join("cfg", "dataset")
|
|
|
5 |
|
6 |
from utils import get_configs, get_display_names, get_path_for_viz, get_text_str, get_meta_path
|
7 |
|
8 |
+
query_params = st.experimental_get_query_params()
|
9 |
+
|
10 |
+
disable_header = "header" in query_params and query_params["header"][0] == "false"
|
11 |
+
|
12 |
+
if not disable_header:
|
13 |
+
st.header("EVREAL - Event-based Video Reconstruction Evaluation and Analysis Library")
|
14 |
+
|
15 |
+
paper_link = "https://arxiv.org/abs/2305.00434"
|
16 |
+
code_link = "https://github.com/ercanburak/EVREAL"
|
17 |
+
page_link = "https://ercanburak.github.io/evreal.html"
|
18 |
+
|
19 |
+
st.markdown("Paper: " + paper_link, unsafe_allow_html=True)
|
20 |
+
st.markdown("Code: " + code_link, unsafe_allow_html=True)
|
21 |
+
st.markdown("Page: " + page_link, unsafe_allow_html=True)
|
22 |
|
23 |
|
24 |
@st.cache_data(show_spinner="Retrieving results...")
|
|
|
167 |
return video_bytes
|
168 |
|
169 |
|
170 |
+
if not disable_header:
|
171 |
+
st.divider()
|
172 |
+
st.header("Result Analysis Tool")
|
173 |
|
174 |
base_data_dir = "data"
|
175 |
dataset_cfg_path = os.path.join("cfg", "dataset")
|