Spaces:
Running
Running
Update ui.py
Browse files
ui.py
CHANGED
@@ -24,6 +24,7 @@ def Target_Identification(userinput):
|
|
24 |
return entity["text"]
|
25 |
|
26 |
|
|
|
27 |
def APP():
|
28 |
|
29 |
tab_map = {
|
@@ -180,9 +181,19 @@ def APP():
|
|
180 |
#st.markdown(f"## {plan_response}")
|
181 |
with st.chat_message("assistant"):
|
182 |
st.markdown(plan_response)
|
|
|
183 |
|
184 |
-
|
|
|
|
|
|
|
185 |
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
st.session_state.messages.append({"role":"assistant","content":plan_response})
|
187 |
|
188 |
|
|
|
24 |
return entity["text"]
|
25 |
|
26 |
|
27 |
+
|
28 |
def APP():
|
29 |
|
30 |
tab_map = {
|
|
|
181 |
#st.markdown(f"## {plan_response}")
|
182 |
with st.chat_message("assistant"):
|
183 |
st.markdown(plan_response)
|
184 |
+
|
185 |
|
186 |
+
"---------------------experimental--------------------------------"
|
187 |
+
fetch_ops_response=fetch_ops()
|
188 |
+
if fetch_ops_response.get("exp") != None
|
189 |
+
for op in fetch_ops_response.get("exp"):
|
190 |
|
191 |
+
with st.chat_message("assistant"):
|
192 |
+
st.markdown(op)
|
193 |
+
"------------------------------------------------------------------"
|
194 |
+
|
195 |
+
|
196 |
+
|
197 |
st.session_state.messages.append({"role":"assistant","content":plan_response})
|
198 |
|
199 |
|