Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -39,6 +39,7 @@ if st.button("Predict"):
|
|
| 39 |
st.success(f"Predicted Rental Price (in dollars): {prediction}")
|
| 40 |
else:
|
| 41 |
st.error("Error making prediction.")
|
|
|
|
| 42 |
|
| 43 |
# Section for batch prediction
|
| 44 |
st.subheader("Batch Prediction")
|
|
|
|
| 39 |
st.success(f"Predicted Rental Price (in dollars): {prediction}")
|
| 40 |
else:
|
| 41 |
st.error("Error making prediction.")
|
| 42 |
+
st.error(f"Error code: {response.status_code}")
|
| 43 |
|
| 44 |
# Section for batch prediction
|
| 45 |
st.subheader("Batch Prediction")
|