Spaces:
Sleeping
Sleeping
Update ui.py
Browse files
ui.py
CHANGED
|
@@ -223,21 +223,22 @@ def APP():
|
|
| 223 |
st.balloons() # Celebratory animation
|
| 224 |
st.success(f"π¬ Found {len(exp_data)} experimental operations!")
|
| 225 |
|
| 226 |
-
for i, op in enumerate(exp_data):
|
| 227 |
-
|
| 228 |
# Add animated typing effect with progress
|
| 229 |
progress_placeholder = st.empty()
|
| 230 |
progress_placeholder.info(f"π Loading operation {i+1}/{len(exp_data)}...")
|
| 231 |
|
| 232 |
-
operation_text = op.get("operation", "No operation text")
|
| 233 |
-
output_text = op.get("output", "No output text")
|
| 234 |
|
| 235 |
# Clear progress and show content
|
| 236 |
progress_placeholder.empty()
|
| 237 |
|
| 238 |
with st.container(border=True):
|
| 239 |
-
st.markdown(f"**π§ͺ Operation:** {operation_text}")
|
| 240 |
-
st.markdown(f"**π Output:** {output_text}")
|
|
|
|
| 241 |
|
| 242 |
|
| 243 |
|
|
|
|
| 223 |
st.balloons() # Celebratory animation
|
| 224 |
st.success(f"π¬ Found {len(exp_data)} experimental operations!")
|
| 225 |
|
| 226 |
+
#for i, op in enumerate(exp_data):
|
| 227 |
+
with st.chat_message("assistant"):
|
| 228 |
# Add animated typing effect with progress
|
| 229 |
progress_placeholder = st.empty()
|
| 230 |
progress_placeholder.info(f"π Loading operation {i+1}/{len(exp_data)}...")
|
| 231 |
|
| 232 |
+
#operation_text = op.get("operation", "No operation text")
|
| 233 |
+
#output_text = op.get("output", "No output text")
|
| 234 |
|
| 235 |
# Clear progress and show content
|
| 236 |
progress_placeholder.empty()
|
| 237 |
|
| 238 |
with st.container(border=True):
|
| 239 |
+
#st.markdown(f"**π§ͺ Operation:** {operation_text}")
|
| 240 |
+
#st.markdown(f"**π Output:** {output_text}")
|
| 241 |
+
st.write(exp_data)
|
| 242 |
|
| 243 |
|
| 244 |
|