ppsingh commited on
Commit
26fc0ba
1 Parent(s): 85fa59b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -8
app.py CHANGED
@@ -35,19 +35,23 @@ st.sidebar.markdown("""
35
  # Data Annotation Demo
36
  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'.
37
  """)
38
- # getting outer level keys in json
 
 
 
 
 
 
 
 
 
 
39
  #with st.container():
40
  # repo, paraList = read_dataset()
41
 
42
- # keys = paraList.keys()
43
 
44
- # sidebar with info and drop down to select from the keys
45
 
46
- #topic = None
47
- #if keys is not None:
48
- # topic = st.sidebar.selectbox(
49
-
50
- # label="Choose dataset topic to load", options=keys )
51
  # st.write(line)
52
  #st.write(paraList)
53
  #if topic is not None:
 
35
  # Data Annotation Demo
36
  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'.
37
  """)
38
+ # sidebar with info and drop down to select from the keys
39
+
40
+ topic = None
41
+ repo, paraList = read_dataset()
42
+ # getting outer level keys in json
43
+ keys = paraList.keys()
44
+
45
+ if keys is not None:
46
+ topic = st.sidebar.selectbox(label="Choose dataset topic to load", options=keys )
47
+
48
+
49
  #with st.container():
50
  # repo, paraList = read_dataset()
51
 
52
+ #
53
 
 
54
 
 
 
 
 
 
55
  # st.write(line)
56
  #st.write(paraList)
57
  #if topic is not None: