adityasharma0511 commited on
Commit
d1ddd99
·
verified ·
1 Parent(s): bd4c142

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,6 +77,6 @@ uploaded_file = st.file_uploader("Upload CSV file for batch prediction", type=["
77
  if uploaded_file is not None:
78
  if st.button("Predict Batch"):
79
  response = predict_store_sales_batch(uploaded_file)
80
- predictions = response.json()
81
  st.success("Batch predictions completed!")
82
  st.write(predictions) # Display the predictions
 
77
  if uploaded_file is not None:
78
  if st.button("Predict Batch"):
79
  response = predict_store_sales_batch(uploaded_file)
80
+ predictions = response
81
  st.success("Batch predictions completed!")
82
  st.write(predictions) # Display the predictions