rasmodev commited on
Commit
b464c53
·
1 Parent(s): be5d617

Update app.py

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