mdsalmon159 commited on
Commit
8d17c22
·
verified ·
1 Parent(s): 1a29583

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -45,6 +45,10 @@ if st.button("Predict"):
45
  # Section for batch prediction
46
  st.subheader("Batch Prediction")
47
 
 
 
 
 
48
  # Make batch prediction when the "Predict Batch" button is clicked
49
  if uploaded_file is not None:
50
  if st.button("Predict Batch"):
 
45
  # Section for batch prediction
46
  st.subheader("Batch Prediction")
47
 
48
+ #allow user to upload csv file
49
+ uploaded_file = st.file_uploader("Upload a CSV file", type=["csv"])
50
+
51
+
52
  # Make batch prediction when the "Predict Batch" button is clicked
53
  if uploaded_file is not None:
54
  if st.button("Predict Batch"):