Spaces:
Build error
Build error
Update app.py
Browse files45 unmodified lines464748495051525349505556575851525360616263646566545556576869585960616245 unmodified lines topic = st.sidebar.selectbox(label="Choose dataset topic to load", options=keys )
#with st.container():# repo, paraList = read_dataset() #
with st.container():
# st.write(line)#st.write(paraList)#if topic is not None:# subtopics = list(paraList[topic].keys()) if topic is not None: subtopics = list(paraList[topic].keys()) #st.write(subtopics)# val = np.random.randint(0,len(subtopics)-1)# choice = subtopics[val]# st.write(choice) #if np.random.randint(0,1) == 0: # choice = "Gender" #else: # choice = "Women Empowernment" val = np.random.randint(0,len(subtopics)-1) tag = subtopics[val] st.write(tag) # idx = np.random.randint(0,3) # st.write(idx) idx = np.random.randint(0,3) st.write(idx) #c1, c2, c3 = st.columns([3, 1, 1]) #with c1: # st.header('Text')app.py+8-18