annotation_dev / app.py
ppsingh's picture
Update app.py
78842d8
raw
history blame
283 Bytes
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)