PierreBrunelle commited on
Commit
09e5e64
1 Parent(s): 8d6097e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -75,7 +75,8 @@ def process_and_generate_post(video_file, social_media_type):
75
  # Retrieve thumbnails
76
  thumbnails = frames_view.select(frames_view.frame).tail(2)['frame']
77
 
78
- df_output = t.show(1)
 
79
 
80
  #Display content
81
  return social_media_post, thumbnails, df_output
 
75
  # Retrieve thumbnails
76
  thumbnails = frames_view.select(frames_view.frame).tail(2)['frame']
77
 
78
+ # Retrieve Pixeltable Table containing all videos and stored data
79
+ df_output = t.collect().to_pandas()
80
 
81
  #Display content
82
  return social_media_post, thumbnails, df_output