Spaces:
Build error
Build error
Update app.py
Browse files3 unmodified lines45678934 unmodified lines44454647484950515253543 unmodified linesimport osfrom pathlib import Pathimport json# Declaring the variables for later use to talk to dataset34 unmodified linesif topic is not None:c1, c2, c3 = st.columns([3, 1, 1])title = st.text_input('Movie title', 'Life of Brian')if st.button('Submit'):new_row = title3 unmodified lines4567891034 unmodified lines45464748495051525354555657585960616263643 unmodified linesimport osfrom pathlib import Pathimport jsonimport numpy as np# Declaring the variables for later use to talk to dataset34 unmodified linesif topic is not None:c1, c2, c3 = st.columns([3, 1, 1])if np.random.randint(0,1) == 0:choice = 'Gender'else:choice = 'Women Empowernment'with c1:st.header('Text')st.text(paraList[label][choice][0]with c2:st.header('Tag')st.text(choice)with c3:st.header('Feedback')st.selectbox('0 If Tag is not a good keyword for text, 5 for prefect match',(0,1,2,3,4,5))title = st.text_input('Movie title', 'Life of Brian')if st.button('Submit'):new_row = title
app.py+15-5