aharley commited on
Commit
a948769
·
1 Parent(s): 06519e4

added twist

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -902,6 +902,7 @@ with gr.Blocks() as demo:
902
  groundbox = os.path.join(os.path.dirname(__file__), "videos", "groundbox_800.mp4")
903
  apple = os.path.join(os.path.dirname(__file__), "videos", "apple.mp4")
904
  grasp_sponge_800 = os.path.join(os.path.dirname(__file__), "videos", "grasp_sponge_800.mp4")
 
905
  # dog = os.path.join(os.path.dirname(__file__), "videos", "dog.mp4")
906
  bear = os.path.join(os.path.dirname(__file__), "videos", "bear.mp4")
907
  paragliding_launch = os.path.join(os.path.dirname(__file__), "videos", "paragliding-launch.mp4")
@@ -910,10 +911,11 @@ with gr.Blocks() as demo:
910
  pillow = os.path.join(os.path.dirname(__file__), "videos", "pillow.mp4")
911
  teddy = os.path.join(os.path.dirname(__file__), "videos", "teddy.mp4")
912
  backpack = os.path.join(os.path.dirname(__file__), "videos", "backpack.mp4")
913
- gr.Examples(examples=[butterfly, groundbox, monkey, grasp_sponge_800, bear, apple, paragliding, paragliding_launch, cat, pillow, teddy, backpack],
914
  inputs = [
915
  video_in
916
  ],
 
917
  )
918
  # with gr.Column():
919
  # gr.Markdown("Choose a video or upload one of your own.")
 
902
  groundbox = os.path.join(os.path.dirname(__file__), "videos", "groundbox_800.mp4")
903
  apple = os.path.join(os.path.dirname(__file__), "videos", "apple.mp4")
904
  grasp_sponge_800 = os.path.join(os.path.dirname(__file__), "videos", "grasp_sponge_800.mp4")
905
+ twist = os.path.join(os.path.dirname(__file__), "videos", "twist_800.mp4")
906
  # dog = os.path.join(os.path.dirname(__file__), "videos", "dog.mp4")
907
  bear = os.path.join(os.path.dirname(__file__), "videos", "bear.mp4")
908
  paragliding_launch = os.path.join(os.path.dirname(__file__), "videos", "paragliding-launch.mp4")
 
911
  pillow = os.path.join(os.path.dirname(__file__), "videos", "pillow.mp4")
912
  teddy = os.path.join(os.path.dirname(__file__), "videos", "teddy.mp4")
913
  backpack = os.path.join(os.path.dirname(__file__), "videos", "backpack.mp4")
914
+ gr.Examples(examples=[butterfly, groundbox, monkey, grasp_sponge_800, bear, apple, paragliding, paragliding_launch, cat, pillow, teddy, backpack, twist],
915
  inputs = [
916
  video_in
917
  ],
918
+ examples_per_page=20,
919
  )
920
  # with gr.Column():
921
  # gr.Markdown("Choose a video or upload one of your own.")