Update app.py
Browse files
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://
|
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:
|