gaspar-avit commited on
Commit
65cf2b0
·
1 Parent(s): 4e1e792

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -275,7 +275,7 @@ if __name__ == "__main__":
275
  st.text("")
276
  st.text("")
277
 
278
- selected_movie = st.selectbox(label="Select a movie to generate alternative poster", options=data.title)
279
 
280
  st.text("")
281
  st.text("")
@@ -288,7 +288,7 @@ if __name__ == "__main__":
288
  if is_clicked:
289
  poster = generate_poster(data[data.title_year==selected_movie])
290
 
291
- """
292
  if poster is not None:
293
  buffer1, col1, buffer2 = st.columns([1.3, 1, 1])
294
  is_clicked_rerun = col1.button(label="Rerun with same movie!")
 
275
  st.text("")
276
  st.text("")
277
 
278
+ selected_movie = st.selectbox(label="Select a movie to generate alternative poster", options=data.title_year)
279
 
280
  st.text("")
281
  st.text("")
 
288
  if is_clicked:
289
  poster = generate_poster(data[data.title_year==selected_movie])
290
 
291
+ _= """
292
  if poster is not None:
293
  buffer1, col1, buffer2 = st.columns([1.3, 1, 1])
294
  is_clicked_rerun = col1.button(label="Rerun with same movie!")