Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,14 +42,14 @@ if keys is not None:
|
|
42 |
topic = st.sidebar.selectbox(
|
43 |
label="Choose dataset topic to load", options=keys )
|
44 |
# st.write(line)
|
45 |
-
|
46 |
if topic is not None:
|
47 |
c1, c2, c3 = st.columns([3, 1, 1])
|
48 |
subtopics = list(paraList[topic].keys())
|
49 |
-
st.write(subtopics)
|
50 |
val = np.random.randint(0,len(subtopics))
|
51 |
choice = subtopics[val]
|
52 |
-
st.write(choice)
|
53 |
#if np.random.randint(0,1) == 0:
|
54 |
# choice = "Gender"
|
55 |
#else:
|
|
|
42 |
topic = st.sidebar.selectbox(
|
43 |
label="Choose dataset topic to load", options=keys )
|
44 |
# st.write(line)
|
45 |
+
st.write(paraList)
|
46 |
if topic is not None:
|
47 |
c1, c2, c3 = st.columns([3, 1, 1])
|
48 |
subtopics = list(paraList[topic].keys())
|
49 |
+
#st.write(subtopics)
|
50 |
val = np.random.randint(0,len(subtopics))
|
51 |
choice = subtopics[val]
|
52 |
+
#st.write(choice)
|
53 |
#if np.random.randint(0,1) == 0:
|
54 |
# choice = "Gender"
|
55 |
#else:
|