arpita-23 commited on
Commit
8ae8f9b
·
verified ·
1 Parent(s): 8a8a40e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ if st.button("▶ Run Code"):
45
  with st.spinner("Running your code..."):
46
  try:
47
  # Send code to backend
48
- response = requests.post("http://localhost:5000/run", json={"code": code})
49
  output = response.json().get("output", "Error in execution.")
50
 
51
  # Display output
 
45
  with st.spinner("Running your code..."):
46
  try:
47
  # Send code to backend
48
+ response = requests.post("https://codingplatform-3.onrender.com", json={"code": code})
49
  output = response.json().get("output", "Error in execution.")
50
 
51
  # Display output