Spaces:
Runtime error
Runtime error
gaspar-avit
commited on
Commit
·
fb06e50
1
Parent(s):
34b830f
Upload app.py
Browse files
app.py
CHANGED
@@ -262,11 +262,13 @@ if __name__ == "__main__":
|
|
262 |
st.text("")
|
263 |
st.text("")
|
264 |
|
265 |
-
buffer1, col1, buffer2 = st.columns([1.3, 1, 1])
|
266 |
|
267 |
-
|
268 |
|
269 |
-
|
270 |
-
if is_clicked:
|
271 |
generate_poster(data[data.title==selected_movie])
|
272 |
|
|
|
|
|
|
|
|
262 |
st.text("")
|
263 |
st.text("")
|
264 |
|
265 |
+
buffer1, col1, col2, buffer2 = st.columns([1.3, 1, 1, 1])
|
266 |
|
267 |
+
is_clicked_1 = col1.button(label="Generate poster!")
|
268 |
|
269 |
+
if is_clicked_1:
|
|
|
270 |
generate_poster(data[data.title==selected_movie])
|
271 |
|
272 |
+
if st.button('Reset', False):
|
273 |
+
st.empty()
|
274 |
+
|