annotation_dev / app.py
ppsingh's picture
Update app.py
dd3f3bf
raw
history blame
336 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'):
new_row = {'Sentences': title}
data = data.append(new_row, ignore_index=True)
st.write(data)
for line in data:
st.write(line)