Update app.py
Browse files
app.py
CHANGED
@@ -118,4 +118,4 @@ if st.button("Predict"):
|
|
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 |
prediction = response.text
|
121 |
-
st.success(f
|
|
|
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 |
prediction = response.text
|
121 |
+
st.success(f"This individual is predicted to have an income of:{prediction}")
|