Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|