Download src/streamlit_app.py from akarora93/TestFE: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/akarora93/TestFE/resolve/main/src/streamlit_app.py
- Command line
-
hf download hf://spaces/akarora93/TestFE/src/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/akarora93/TestFE/resolve/main/src/streamlit_app.py
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") |