import streamlit as st import pandas as pd data = pd.read_csv("test.csv") for line in data: st.write(line) title = st.text_input('Movie title', 'Life of Brian') if st.button('Submit'): data.loc[len(data)] = title st.write(data) for line in data: st.write(line)