ppsingh commited on
Commit
bba90d4
1 Parent(s): ea6af6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ if keys is not None:
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]
 
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]