Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -43,9 +43,7 @@ if st.button('Predict',type='primary'):
|
|
| 43 |
prediction=result['prediction']
|
| 44 |
st.success(f'Based on the information provided the forecasted sales for the superkart product_id {Product_Id} is {prediction}')
|
| 45 |
else:
|
| 46 |
-
st.
|
| 47 |
-
st.write("Headers:", response.headers)
|
| 48 |
-
st.write("Raw Content:", response.text)
|
| 49 |
|
| 50 |
|
| 51 |
|
|
|
|
| 43 |
prediction=result['prediction']
|
| 44 |
st.success(f'Based on the information provided the forecasted sales for the superkart product_id {Product_Id} is {prediction}')
|
| 45 |
else:
|
| 46 |
+
st.error(response.text)
|
|
|
|
|
|
|
| 47 |
|
| 48 |
|
| 49 |
|