Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -179,7 +179,18 @@ with tab1:
|
|
179 |
st.error(f"🖼️ Image failed: {e}")
|
180 |
|
181 |
# ------------------ Technical Tab ------------------
|
|
|
182 |
with tab2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
ASSISTANT_ID = "asst_DjvuWBc7tCvMbAhY7n1em4BZ"
|
184 |
if "tech_messages" not in st.session_state:
|
185 |
st.session_state.tech_messages = []
|
|
|
179 |
st.error(f"🖼️ Image failed: {e}")
|
180 |
|
181 |
# ------------------ Technical Tab ------------------
|
182 |
+
|
183 |
with tab2:
|
184 |
+
with st.sidebar:
|
185 |
+
st.header("🛠️ Technical Tools")
|
186 |
+
if st.button("🧹 Clear Technical Chat"):
|
187 |
+
st.session_state.tech_messages = []
|
188 |
+
st.session_state.tech_thread_id = None
|
189 |
+
st.session_state.tech_results = []
|
190 |
+
st.session_state.tech_lightbox = None
|
191 |
+
st.session_state.tech_new_input = False
|
192 |
+
st.rerun()
|
193 |
+
|
194 |
ASSISTANT_ID = "asst_DjvuWBc7tCvMbAhY7n1em4BZ"
|
195 |
if "tech_messages" not in st.session_state:
|
196 |
st.session_state.tech_messages = []
|