MLDeveloper commited on
Commit
7adfb78
·
verified ·
1 Parent(s): 801d064

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("API_URL = "http://0.0.0.0:10000"
49
  ", json={"code": code})
50
  output = response.json().get("output", "Error in execution.")
51
 
 
45
  with st.spinner("Running your code..."):
46
  try:
47
  # Send code to backend
48
+ response = requests.post("API_URL = "https://your-backend-service.onrender.com/run"
49
  ", json={"code": code})
50
  output = response.json().get("output", "Error in execution.")
51