Update src/streamlit_app.py
Browse files- src/streamlit_app.py +18 -18
src/streamlit_app.py
CHANGED
@@ -128,24 +128,24 @@ with st.container():
|
|
128 |
with st.container():
|
129 |
st.info(st.session_state.response)
|
130 |
|
131 |
-
if st.session_state.button_clicked == "Explain the question":
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
|
150 |
# Footer spacing
|
151 |
st.markdown("<br><br>", unsafe_allow_html=True)
|
|
|
128 |
with st.container():
|
129 |
st.info(st.session_state.response)
|
130 |
|
131 |
+
# if st.session_state.button_clicked == "Explain the question":
|
132 |
+
# col1, col2, col3 = st.columns([1, 1, 1])
|
133 |
+
# with col2:
|
134 |
+
# st.markdown(
|
135 |
+
# """
|
136 |
+
# <style>
|
137 |
+
# div.stButton > button {
|
138 |
+
# width: 250px!important;
|
139 |
+
# }
|
140 |
+
# </style>
|
141 |
+
# """,
|
142 |
+
# unsafe_allow_html=True,
|
143 |
+
# )
|
144 |
+
# if st.button("I don't understand. Try again.", key="retry_button"):
|
145 |
+
# st.session_state.retry_count += 1
|
146 |
+
# alt_llm = get_llm(temperature=0.9)
|
147 |
+
# st.session_state.response = alt_llm.invoke(st.session_state.full_prompt)
|
148 |
+
# st.info(st.session_state.response)
|
149 |
|
150 |
# Footer spacing
|
151 |
st.markdown("<br><br>", unsafe_allow_html=True)
|