rasmodev commited on
Commit
4c7947e
·
1 Parent(s): 3829057

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ if st.button("Predict"):
118
 
119
 
120
  # Send a POST request to the FastAPI server
121
- response = requests.post("https://rasmodev-income-prediction-fastapi.hf.space/predict", json=user_input)
122
 
123
  # Check if the request was successful
124
  if response.status_code == 200:
 
118
 
119
 
120
  # Send a POST request to the FastAPI server
121
+ response = requests.post("https://rasmodev-income-prediction-fastapi.hf.space/predict/", json=user_input)
122
 
123
  # Check if the request was successful
124
  if response.status_code == 200: