Spaces:
Running
Running
Update app_web.py
Browse files- app_web.py +1 -1
app_web.py
CHANGED
|
@@ -245,7 +245,7 @@ def render_chat():
|
|
| 245 |
return
|
| 246 |
|
| 247 |
print("stata: ",qcat_result.get("sub-action"))
|
| 248 |
-
if qcat_result.get("category") == "stata" and (qcat_result.get("sub-action")=="unresolved" or
|
| 249 |
# Ask clarification — store original query and question for context
|
| 250 |
st.session_state.unresolved_category = original_query_cat
|
| 251 |
|
|
|
|
| 245 |
return
|
| 246 |
|
| 247 |
print("stata: ",qcat_result.get("sub-action"))
|
| 248 |
+
if qcat_result.get("category") == "stata" and (qcat_result.get("sub-action")=="unresolved" or st.session_state.stata_options is None):
|
| 249 |
# Ask clarification — store original query and question for context
|
| 250 |
st.session_state.unresolved_category = original_query_cat
|
| 251 |
|