gaspar-avit commited on
Commit
8b234db
1 Parent(s): 865c275

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -282,13 +282,13 @@ if __name__ == "__main__":
282
 
283
  buffer1, col1, buffer2 = st.columns([1.3, 1, 1])
284
 
285
- while 1:
286
- is_clicked = col1.button(label="Generate poster!")
287
- is_clicked_rerun = None
 
 
 
288
 
289
- if is_clicked:
290
- poster = generate_poster(data[data.title_year==selected_movie])
291
- generate_poster.clear()
292
 
293
  _= """
294
  if poster is not None:
 
282
 
283
  buffer1, col1, buffer2 = st.columns([1.3, 1, 1])
284
 
285
+ is_clicked = col1.button(label="Generate poster!")
286
+ is_clicked_rerun = None
287
+
288
+ if is_clicked:
289
+ poster = generate_poster(data[data.title_year==selected_movie])
290
+ generate_poster.clear()
291
 
 
 
 
292
 
293
  _= """
294
  if poster is not None: