siddhesh1981 commited on
Commit
a55f528
·
verified ·
1 Parent(s): 46d4955

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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.write("Status Code:", response.status_code)
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