ppsingh commited on
Commit
fc93e08
1 Parent(s): 4728363

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
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