Spaces:
Sleeping
Sleeping
Add app.py
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ def answer_change(state, key):
|
|
| 123 |
st.session_state[state] = st.session_state[key]
|
| 124 |
|
| 125 |
st.set_page_config(page_title='IPFS-Based Survey',)
|
| 126 |
-
st.title('
|
| 127 |
|
| 128 |
st.markdown("<style>.row-widget.stButton {text-align: center;}</style>", unsafe_allow_html=True)
|
| 129 |
st.markdown("<style>.big-font {font-size:24px;}</style>", unsafe_allow_html=True)
|
|
@@ -137,9 +137,9 @@ if "current_page" not in st.session_state:
|
|
| 137 |
# Page 1; Video
|
| 138 |
if st.session_state["current_page"] == 1:
|
| 139 |
|
| 140 |
-
st.markdown("""<p class="big-font"
|
| 141 |
|
| 142 |
-
st.text_area(label = "
|
| 143 |
value= "" if st.session_state["Q1"] == None else st.session_state["Q1"],
|
| 144 |
key = 'Q1_text',
|
| 145 |
on_change = answer_change,
|
|
|
|
| 123 |
st.session_state[state] = st.session_state[key]
|
| 124 |
|
| 125 |
st.set_page_config(page_title='IPFS-Based Survey',)
|
| 126 |
+
st.title('')
|
| 127 |
|
| 128 |
st.markdown("<style>.row-widget.stButton {text-align: center;}</style>", unsafe_allow_html=True)
|
| 129 |
st.markdown("<style>.big-font {font-size:24px;}</style>", unsafe_allow_html=True)
|
|
|
|
| 137 |
# Page 1; Video
|
| 138 |
if st.session_state["current_page"] == 1:
|
| 139 |
|
| 140 |
+
st.markdown("""<p class="big-font"></p>""", unsafe_allow_html=True)
|
| 141 |
|
| 142 |
+
st.text_area(label = "test1",
|
| 143 |
value= "" if st.session_state["Q1"] == None else st.session_state["Q1"],
|
| 144 |
key = 'Q1_text',
|
| 145 |
on_change = answer_change,
|