VictorSanh commited on
Commit
d03801a
1 Parent(s): 19d498a

lots of memes

Browse files
app_dialogue.py CHANGED
@@ -805,77 +805,37 @@ with gr.Blocks(title="D", theme=gr.themes.Base()) as demo:
805
  "Write something funny about that. A meme for instance.",
806
  f"{examples_path}/example_images/zuck.jpeg",
807
  ],
808
- ["Explain this meme to me.", f"{examples_path}/example_images/meme_french.jpg"],
809
- ["Give me a short and easy recipe for this dish.", f"{examples_path}/example_images/recipe_burger.webp"],
810
  [
811
- "I want to go somewhere similar to the one in the photo. Give me destinations and travel tips.",
812
- f"{examples_path}/example_images/travel_tips.jpg",
813
- ],
814
- [
815
- "Can you name the characters in the image and give their French names?",
816
- f"{examples_path}/example_images/gaulois.png",
817
- ],
818
- # ["Describe this image in detail.", f"{examples_path}/example_images/plant_bulb.webp"],
819
- ["Write a complete sales ad for this product.", f"{examples_path}/example_images/product_ad.jpg"],
820
- [
821
- (
822
- "As an art critic AI assistant, could you describe this painting in details and make a thorough"
823
- " critic?"
824
- ),
825
- f"{examples_path}/example_images/art_critic.png",
826
  ],
827
  [
828
- "Can you tell me a very short story based on this image?",
829
- f"{examples_path}/example_images/chicken_on_money.png",
830
  ],
831
- ["Write 3 funny meme texts about this image.", f"{examples_path}/example_images/elon_smoking.jpg"],
832
  [
833
- "Who is in this picture? Why do people find it surprising?",
834
- f"{examples_path}/example_images/pope_doudoune.webp",
835
  ],
836
- # ["<fake_token_around_image><image:https://assets.stickpng.com/images/6308b83261b3e2a522f01467.png><fake_token_around_image>Make a poem about the company in the image<fake_token_around_image><image:https://miro.medium.com/v2/resize:fit:1400/0*jvDu2oQreHn63-fJ><fake_token_around_image>organizing the Woodstock of AI event,<fake_token_around_image><image:https://nationaltoday.com/wp-content/uploads/2019/12/national-llama-day-1200x834.jpg><fake_token_around_image>and the fact they brought those to the event.", None],
837
- ["What are the armed baguettes guarding?", f"{examples_path}/example_images/baguettes_guarding_paris.png"],
838
- # ["Can you describe the image?", f"{examples_path}/example_images/bear_costume.png"],
839
- ["What is this animal and why is it unusual?", f"{examples_path}/example_images/blue_dog.png"],
840
  [
841
- "What is this object and do you think it is horrifying?",
842
- f"{examples_path}/example_images/can_horror.png",
843
  ],
844
  [
845
- (
846
- "What is this sketch for? How would you make an argument to prove this sketch was made by Picasso"
847
- " himself?"
848
- ),
849
- f"{examples_path}/example_images/cat_sketch.png",
850
  ],
851
- ["Which celebrity does this claymation figure look like?", f"{examples_path}/example_images/kanye.jpg"],
852
- # [
853
- # "Is there a celebrity look-alike in this image? What is happening to the person?",
854
- # f"{examples_path}/example_images/ryan-reynolds-borg.jpg",
855
- # ],
856
- # ["Can you describe this image in details please?", f"{examples_path}/example_images/dragons_playing.png"],
857
- ["What can you tell me about the cap in this image?", f"{examples_path}/example_images/ironman_cap.png"],
858
  [
859
- "Can you write an advertisement for Coca-Cola based on this image?",
860
- f"{examples_path}/example_images/polar_bear_coke.png",
861
  ],
862
- # [
863
- # "What is the rabbit doing in this image? Do you think this image is real?",
864
- # f"{examples_path}/example_images/rabbit_force.png",
865
- # ],
866
- # ["What is happening in this image and why is it unusual?", f"{examples_path}/example_images/ramen.png"],
867
- # [
868
- # "What I should look most forward to when I visit this place?",
869
- # f"{examples_path}/example_images/tree_fortress.jpg",
870
- # ],
871
- # ["Who is the person in the image and what is he doing?", f"{examples_path}/example_images/tom-cruise-astronaut-pegasus.jpg"],
872
  [
873
- "What is happening in this image? Which famous personality does this person in center looks like?",
874
- f"{examples_path}/example_images/gandhi_selfie.jpg",
875
  ],
876
  [
877
- "What do you think the dog is doing and is it unusual?",
878
- f"{examples_path}/example_images/surfing_dog.jpg",
879
  ],
880
  ],
881
  inputs=[textbox, imagebox],
@@ -884,8 +844,7 @@ with gr.Blocks(title="D", theme=gr.themes.Base()) as demo:
884
  cache_examples=False,
885
  examples_per_page=6,
886
  label=(
887
- "Click on any example below to get started.\nFor convenience, the model generations have been"
888
- " pre-computed with `idefics-80b-instruct`."
889
  ),
890
  )
891
 
 
805
  "Write something funny about that. A meme for instance.",
806
  f"{examples_path}/example_images/zuck.jpeg",
807
  ],
 
 
808
  [
809
+ "Write a meme text for that image.",
810
+ f"{examples_path}/example_images/echasse.jpg",
 
 
 
 
 
 
 
 
 
 
 
 
 
811
  ],
812
  [
813
+ "Write a meme text for that image.",
814
+ f"{examples_path}/example_images/jesus.jpg",
815
  ],
 
816
  [
817
+ "Write a meme text for that image.",
818
+ f"{examples_path}/example_images/owl.jpg",
819
  ],
 
 
 
 
820
  [
821
+ "Write a meme text for that image.",
822
+ f"{examples_path}/example_images/pigeon.jpg",
823
  ],
824
  [
825
+ "Write a meme text for that image.",
826
+ f"{examples_path}/example_images/plotorange.jpg",
 
 
 
827
  ],
 
 
 
 
 
 
 
828
  [
829
+ "Write a meme text for that image.",
830
+ f"{examples_path}/example_images/rats.jpg",
831
  ],
 
 
 
 
 
 
 
 
 
 
832
  [
833
+ "Write a meme text for that image.",
834
+ f"{examples_path}/example_images/sugardaddy.jpg",
835
  ],
836
  [
837
+ "Write a meme text for that image.",
838
+ f"{examples_path}/example_images/wtf.jpg",
839
  ],
840
  ],
841
  inputs=[textbox, imagebox],
 
844
  cache_examples=False,
845
  examples_per_page=6,
846
  label=(
847
+ "Click on any example below to get started."
 
848
  ),
849
  )
850
 
example_images/echasse.jpg ADDED
example_images/jesus.jpg ADDED
example_images/owl.jpg ADDED
example_images/pigeon.jpg ADDED
example_images/plotorange.jpg ADDED
example_images/rats.jpg ADDED
example_images/sugardaddy.jpg ADDED
example_images/wtf.jpg ADDED