Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,12 +30,18 @@ st.sidebar.markdown(
|
|
| 30 |
This app is demo how to use the space to provide user interface for the data annotation/tagging. The data resides in repo_type 'dataset'.
|
| 31 |
"""
|
| 32 |
)
|
| 33 |
-
|
| 34 |
if keys is not None:
|
| 35 |
topic = st.sidebar.selectbox(
|
| 36 |
label="Choose dataset topic to load", options=keys )
|
| 37 |
# st.write(line)
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
title = st.text_input('Movie title', 'Life of Brian')
|
| 40 |
if st.button('Submit'):
|
| 41 |
new_row = title
|
|
|
|
| 30 |
This app is demo how to use the space to provide user interface for the data annotation/tagging. The data resides in repo_type 'dataset'.
|
| 31 |
"""
|
| 32 |
)
|
| 33 |
+
topic = None
|
| 34 |
if keys is not None:
|
| 35 |
topic = st.sidebar.selectbox(
|
| 36 |
label="Choose dataset topic to load", options=keys )
|
| 37 |
# st.write(line)
|
| 38 |
+
|
| 39 |
+
if topic is not None:
|
| 40 |
+
c1, c2, c3 = st.columns([3, 1, 1])
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
|
| 45 |
title = st.text_input('Movie title', 'Life of Brian')
|
| 46 |
if st.button('Submit'):
|
| 47 |
new_row = title
|