Spaces:
Build error
Build error
Yacine Jernite
commited on
Commit
•
e2f899f
1
Parent(s):
c2a6eec
load_or_prepare_widgets everywhere
Browse files
app.py
CHANGED
@@ -257,12 +257,12 @@ def main():
|
|
257 |
dataset_args_left = st_utils.sidebar_selection(ds_name_to_dict, " A")
|
258 |
dataset_args_right = st_utils.sidebar_selection(ds_name_to_dict, " B")
|
259 |
left_col, _, right_col = st.columns([10, 1, 10])
|
260 |
-
dstats_left =
|
261 |
dataset_args_left, show_embeddings, use_cache=use_cache
|
262 |
)
|
263 |
with left_col:
|
264 |
show_column(dstats_left, ds_name_to_dict, show_embeddings, " A")
|
265 |
-
dstats_right =
|
266 |
dataset_args_right, show_embeddings, use_cache=use_cache
|
267 |
)
|
268 |
with right_col:
|
|
|
257 |
dataset_args_left = st_utils.sidebar_selection(ds_name_to_dict, " A")
|
258 |
dataset_args_right = st_utils.sidebar_selection(ds_name_to_dict, " B")
|
259 |
left_col, _, right_col = st.columns([10, 1, 10])
|
260 |
+
dstats_left = load_or_prepare_widgets(
|
261 |
dataset_args_left, show_embeddings, use_cache=use_cache
|
262 |
)
|
263 |
with left_col:
|
264 |
show_column(dstats_left, ds_name_to_dict, show_embeddings, " A")
|
265 |
+
dstats_right = load_or_prepare_widgets(
|
266 |
dataset_args_right, show_embeddings, use_cache=use_cache
|
267 |
)
|
268 |
with right_col:
|