commit 5a664243fd050c6c5610579531f02b2c0f8b884a Author: bastien ollier Date: Wed Jun 5 08:28:30 2024 +0200 initial commit diff --git a/frontend/.streamlit/config.toml b/frontend/.streamlit/config.toml new file mode 100644 index 0000000..977c886 --- /dev/null +++ b/frontend/.streamlit/config.toml @@ -0,0 +1,2 @@ +[server] +enableXsrfProtection = false diff --git a/frontend/main.py b/frontend/main.py new file mode 100644 index 0000000..b51c053 --- /dev/null +++ b/frontend/main.py @@ -0,0 +1,10 @@ +import pandas as pd +import streamlit as st + +st.title("Hello world!") + +uploaded_file = st.file_uploader("Choose a file") +if uploaded_file is not None: + df = pd.read_csv(uploaded_file) + st.write(df.head(10)) + st.write(df.tail(10))