Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
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"):
|