alibidaran commited on
Commit
67dfc65
·
verified ·
1 Parent(s): 646e9c7

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +7 -6
src/streamlit_app.py CHANGED
@@ -152,12 +152,13 @@ if run_button:
152
  else:
153
  st.info("Code ran, but produced no printed output.")
154
 
155
- # Optional: Display returned variables or functions
156
- user_vars = {k: v for k, v in exec_globals.items() if not k.startswith("__")}
157
- if user_vars:
158
- st.write("**Variables in scope:**")
159
- st.json(user_vars)
160
 
161
  except Exception as e:
162
  st.error(f"Execution error: {e}")
163
- st1.iframe("https://cloudhand-sdk-xlsh.vercel.app/",width=400)
 
 
152
  else:
153
  st.info("Code ran, but produced no printed output.")
154
 
155
+ # # Optional: Display returned variables or functions
156
+ # user_vars = {k: v for k, v in exec_globals.items() if not k.startswith("__")}
157
+ # if user_vars:
158
+ # st.write("**Variables in scope:**")
159
+ # st.json(user_vars)
160
 
161
  except Exception as e:
162
  st.error(f"Execution error: {e}")
163
+ st1.iframe("https://cloudhand-sdk-xlsh.vercel.app/",width=400)
164
+