Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,10 +45,15 @@ if keys is not None:
|
|
| 45 |
|
| 46 |
if topic is not None:
|
| 47 |
c1, c2, c3 = st.columns([3, 1, 1])
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
idx = np.random.randint(0,3)
|
| 54 |
|
|
|
|
| 45 |
|
| 46 |
if topic is not None:
|
| 47 |
c1, c2, c3 = st.columns([3, 1, 1])
|
| 48 |
+
subtopics = 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:
|
| 56 |
+
# choice = "Women Empowernment"
|
| 57 |
|
| 58 |
idx = np.random.randint(0,3)
|
| 59 |
|