Update app.py
Browse files
app.py
CHANGED
|
@@ -242,7 +242,7 @@ if not st.session_state.setup_complete:
|
|
| 242 |
st.write("Setup complete. Starting interview...")
|
| 243 |
|
| 244 |
# Interview phase
|
| 245 |
-
if st.session_state.setup_complete and not st.session_state.
|
| 246 |
|
| 247 |
st.info(
|
| 248 |
"""
|
|
@@ -300,9 +300,4 @@ if st.session_state.setup_complete and not st.session_state.feedback_shown and n
|
|
| 300 |
|
| 301 |
# Check if the user message count reaches 5
|
| 302 |
if st.session_state.user_message_count >= 5:
|
| 303 |
-
st.session_state.chat_complete = True
|
| 304 |
-
|
| 305 |
-
# Show "Get Feedback"
|
| 306 |
-
if st.session_state.chat_complete and not st.session_state.feedback_shown:
|
| 307 |
-
if st.button("Get Feedback", on_click=show_feedback):
|
| 308 |
-
st.write("Fetching feedback...")
|
|
|
|
| 242 |
st.write("Setup complete. Starting interview...")
|
| 243 |
|
| 244 |
# Interview phase
|
| 245 |
+
if st.session_state.setup_complete and not st.session_state.chat_complete:
|
| 246 |
|
| 247 |
st.info(
|
| 248 |
"""
|
|
|
|
| 300 |
|
| 301 |
# Check if the user message count reaches 5
|
| 302 |
if st.session_state.user_message_count >= 5:
|
| 303 |
+
st.session_state.chat_complete = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|