Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ if st.button("Predict"):
|
|
| 51 |
# Process response
|
| 52 |
if response.status_code == 200:
|
| 53 |
prediction = response.json()['Predicted_Sales_Revenue']
|
| 54 |
-
st.success(f"Predicted Sales Revenue:
|
| 55 |
else:
|
| 56 |
st.error(f"Prediction failed! Status Code: {response.status_code}")
|
| 57 |
except Exception as e:
|
|
|
|
| 51 |
# Process response
|
| 52 |
if response.status_code == 200:
|
| 53 |
prediction = response.json()['Predicted_Sales_Revenue']
|
| 54 |
+
st.success(f"Predicted Sales Revenue: $ {prediction}")
|
| 55 |
else:
|
| 56 |
st.error(f"Prediction failed! Status Code: {response.status_code}")
|
| 57 |
except Exception as e:
|