Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ if keys is not None:
|
|
51 |
|
52 |
with st.form():
|
53 |
if topic is not None:
|
54 |
-
|
55 |
#st.write(subtopics)
|
56 |
val = np.random.randint(0,len(subtopics)-1)
|
57 |
tag = subtopics[val]
|
|
|
51 |
|
52 |
with st.form():
|
53 |
if topic is not None:
|
54 |
+
subtopics = list(paraList[topic].keys())
|
55 |
#st.write(subtopics)
|
56 |
val = np.random.randint(0,len(subtopics)-1)
|
57 |
tag = subtopics[val]
|