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