MLDeveloper commited on
Commit
5d1b8f6
·
verified ·
1 Parent(s): 9618bd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -1,19 +1,8 @@
 
1
  import streamlit as st
2
  import sys
3
  import io
4
 
5
- # Inject custom CSS to set light blue background
6
- st.markdown(
7
- """
8
- <style>
9
- body {
10
- background-color: #e6f2ff;
11
- }
12
- </style>
13
- """,
14
- unsafe_allow_html=True
15
- )
16
-
17
  def execute_code(code, user_input=""):
18
  """Execute the given code with simulated input and return the output."""
19
  old_stdout = sys.stdout # Backup original stdout
@@ -58,6 +47,7 @@ if st.button("Run Code"):
58
  else:
59
  st.warning("⚠️ Please enter some Python code before running.")
60
 
 
61
 
62
  # V1 without gemini api
63
 
 
1
+ import streamlit as st
2
  import streamlit as st
3
  import sys
4
  import io
5
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  def execute_code(code, user_input=""):
7
  """Execute the given code with simulated input and return the output."""
8
  old_stdout = sys.stdout # Backup original stdout
 
47
  else:
48
  st.warning("⚠️ Please enter some Python code before running.")
49
 
50
+
51
 
52
  # V1 without gemini api
53