Junaidb commited on
Commit
7ee0a5a
Β·
verified Β·
1 Parent(s): 3d4edf7

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +7 -6
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
- 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
 
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