Spaces:
Runtime error
Runtime error
VictorSanh
commited on
Commit
•
d03801a
1
Parent(s):
19d498a
lots of memes
Browse files- app_dialogue.py +17 -58
- example_images/echasse.jpg +0 -0
- example_images/jesus.jpg +0 -0
- example_images/owl.jpg +0 -0
- example_images/pigeon.jpg +0 -0
- example_images/plotorange.jpg +0 -0
- example_images/rats.jpg +0 -0
- example_images/sugardaddy.jpg +0 -0
- example_images/wtf.jpg +0 -0
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 |
-
"
|
812 |
-
f"{examples_path}/example_images/
|
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 |
-
"
|
829 |
-
f"{examples_path}/example_images/
|
830 |
],
|
831 |
-
["Write 3 funny meme texts about this image.", f"{examples_path}/example_images/elon_smoking.jpg"],
|
832 |
[
|
833 |
-
"
|
834 |
-
f"{examples_path}/example_images/
|
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 |
-
"
|
842 |
-
f"{examples_path}/example_images/
|
843 |
],
|
844 |
[
|
845 |
-
|
846 |
-
|
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 |
-
"
|
860 |
-
f"{examples_path}/example_images/
|
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 |
-
"
|
874 |
-
f"{examples_path}/example_images/
|
875 |
],
|
876 |
[
|
877 |
-
"
|
878 |
-
f"{examples_path}/example_images/
|
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
|
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