Spaces:
Runtime error
Runtime error
Commit
•
e25cf02
1
Parent(s):
2e3ee78
Fix streamlit warning: beta_columns is now simply columns (#20)
Browse files* beta_columns is now simply columns
Pin streamlit version to avoid issues.
* Pin streamlit minimal version
Co-authored-by: Albert Villanova del Moral <[email protected]>
- requirements.txt +1 -1
- tagging_app.py +2 -2
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
pyyaml
|
2 |
datasets==1.9.0
|
3 |
-
streamlit
|
4 |
langcodes[data]
|
|
|
1 |
pyyaml
|
2 |
datasets==1.9.0
|
3 |
+
streamlit>=0.88.0
|
4 |
langcodes[data]
|
tagging_app.py
CHANGED
@@ -158,7 +158,7 @@ preloaded_id = st.sidebar.selectbox(
|
|
158 |
label="Choose dataset to load tag set from", options=dataset_ids, index=dataset_selector_index
|
159 |
)
|
160 |
|
161 |
-
leftbtn, rightbtn = st.sidebar.
|
162 |
if leftbtn.button("pre-load"):
|
163 |
initial_state = dataset_id_to_metadata[preloaded_id]
|
164 |
initial_infos = dataset_id_to_infos[preloaded_id]
|
@@ -191,7 +191,7 @@ Here is the matching yaml block:
|
|
191 |
)
|
192 |
|
193 |
|
194 |
-
leftcol, _, rightcol = st.
|
195 |
|
196 |
#
|
197 |
# DATASET NAME
|
|
|
158 |
label="Choose dataset to load tag set from", options=dataset_ids, index=dataset_selector_index
|
159 |
)
|
160 |
|
161 |
+
leftbtn, rightbtn = st.sidebar.columns(2)
|
162 |
if leftbtn.button("pre-load"):
|
163 |
initial_state = dataset_id_to_metadata[preloaded_id]
|
164 |
initial_infos = dataset_id_to_infos[preloaded_id]
|
|
|
191 |
)
|
192 |
|
193 |
|
194 |
+
leftcol, _, rightcol = st.columns([12, 1, 12])
|
195 |
|
196 |
#
|
197 |
# DATASET NAME
|