Spaces:
Build error
Build error
Update app.py
Browse files45 unmodified lines46474849505152535455565758596061626364656667686970717245 unmodified linestopic = st.sidebar.selectbox(label="Choose dataset topic to load", options=keys )#with st.container():# repo, paraList = read_dataset()## st.write(line)#st.write(paraList)#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"# idx = np.random.randint(0,3)# st.write(idx)#c1, c2, c3 = st.columns([3, 1, 1])#with c1:# st.header('Text')45 unmodified lines464748495051525354555657585960616245 unmodified linestopic = st.sidebar.selectbox(label="Choose dataset topic to load", options=keys )with st.container():if topic is not None:subtopics = list(paraList[topic].keys())#st.write(subtopics)val = np.random.randint(0,len(subtopics)-1)tag = subtopics[val]st.write(tag)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