TestFE / src /streamlit_app.py
akarora93's picture
Update src/streamlit_app.py
163a144 verified
raw
history blame contribute delete
355 Bytes
import altair as alt
import numpy as np
import pandas as pd
import streamlit as st
# Allow users to upload a CSV file for batch prediction
uploaded_file = st.file_uploader("Upload CSV file for batch prediction", type=["csv"])
# Make batch prediction when the "Predict Batch" button is clicked
if uploaded_file is not None:
st.button("Predict Batch")