akarora93 commited on
Commit
819d38d
·
verified ·
1 Parent(s): 16f84f7

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
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")