ppsingh commited on
Commit
023d3a8
·
1 Parent(s): 00e1b98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,7 +7,7 @@ for line in data:
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)
 
7
 
8
  title = st.text_input('Movie title', 'Life of Brian')
9
  if st.button('Submit'):
10
+ data.loc[len(data)] = title
11
+ for line in data:
12
+ st.write(line)
13