Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,13 +146,6 @@ if st.session_state.follow_up_mode:
|
|
| 146 |
|
| 147 |
st.session_state.messages.append({"role": "assistant", "content": assistant_response})
|
| 148 |
|
| 149 |
-
# Sidebar content to display persistent generated question (left sidebar)
|
| 150 |
-
st.sidebar.markdown("## Generated Question")
|
| 151 |
-
if st.session_state.generated_question:
|
| 152 |
-
st.sidebar.markdown(st.session_state.generated_question)
|
| 153 |
-
else:
|
| 154 |
-
st.sidebar.markdown("_No question generated yet._")
|
| 155 |
-
|
| 156 |
st.sidebar.markdown("""
|
| 157 |
## About
|
| 158 |
This is a Real-World Interview Question Generator powered by OpenAI's API.
|
|
@@ -160,6 +153,13 @@ Enter a company name, topic, and level of difficulty, and it will transform a re
|
|
| 160 |
Continue chatting with the assistant in the chatbox below.
|
| 161 |
""")
|
| 162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
# Right sidebar toggleable debug logs and code interpreter section
|
| 164 |
with st.expander("Debug Logs (Toggle On/Off)", expanded=False):
|
| 165 |
if len(st.session_state.debug_logs) > 0:
|
|
|
|
| 146 |
|
| 147 |
st.session_state.messages.append({"role": "assistant", "content": assistant_response})
|
| 148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
st.sidebar.markdown("""
|
| 150 |
## About
|
| 151 |
This is a Real-World Interview Question Generator powered by OpenAI's API.
|
|
|
|
| 153 |
Continue chatting with the assistant in the chatbox below.
|
| 154 |
""")
|
| 155 |
|
| 156 |
+
# Sidebar content to display persistent generated question (left sidebar)
|
| 157 |
+
st.sidebar.markdown("## Generated Question")
|
| 158 |
+
if st.session_state.generated_question:
|
| 159 |
+
st.sidebar.markdown(st.session_state.generated_question)
|
| 160 |
+
else:
|
| 161 |
+
st.sidebar.markdown("_No question generated yet._")
|
| 162 |
+
|
| 163 |
# Right sidebar toggleable debug logs and code interpreter section
|
| 164 |
with st.expander("Debug Logs (Toggle On/Off)", expanded=False):
|
| 165 |
if len(st.session_state.debug_logs) > 0:
|