Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import pandas as pd
|
| 3 |
+
import requests
|
| 4 |
+
|
| 5 |
+
# Allow users to upload a CSV file for batch prediction
|
| 6 |
+
uploaded_file = st.file_uploader("Upload CSV file for batch prediction", type=["csv"])
|
| 7 |
+
|
| 8 |
+
# Make batch prediction when the "Predict Batch" button is clicked
|
| 9 |
+
if uploaded_file is not None:
|
| 10 |
+
st.button("Predict Batch")
|