ppsingh commited on
Commit
9031d57
1 Parent(s): 05ec7f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -1,7 +1,13 @@
1
  import streamlit as st
2
  import pandas as pd
3
 
4
- title = st.text_input('Movie title', 'Life of Brian')
5
  data = pd.read_csv("test.csv")
6
  for line in data:
7
- st.write(line)
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
  import pandas as pd
3
 
 
4
  data = pd.read_csv("test.csv")
5
  for line in data:
6
+ st.write(line)
7
+
8
+ title = st.text_input('Movie title', 'Life of Brian')
9
+ if st.button('Submit'):
10
+ data.append(title)
11
+
12
+ for line in data:
13
+ st.write(line