File size: 355 Bytes
4bce532 e572907 4bce532 e572907 163a144 |
1 2 3 4 5 6 7 8 9 10 11 |
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") |