ysharma HF staff commited on
Commit
b8121f1
1 Parent(s): 960a335

handled bug in example image locations

Browse files
Files changed (1) hide show
  1. app_dialogue.py +10 -10
app_dialogue.py CHANGED
@@ -747,16 +747,16 @@ with gr.Blocks(title="IDEFICS", theme=gr.themes.Base()) as demo:
747
  )
748
 
749
  gr.Examples(examples=[
750
- ["example_images/baguettes_guarding_paris.png","What are the armed baguettes guarding?"],
751
- ["example_images/bear_costume.png","Can you describe the image?"],
752
- ["example_images/can_horror.png","What is this object and do you think it is horrifying?"],
753
- ["example_images/chicken_on_money.png","Can you tell me a very short story based on this image?"],
754
- ["example_images/dragons_playing.png","Describe the image in vivid details?"],
755
- ["example_images/ironman_cap.png","Can you tell me about this image and why is it so cool?"],
756
- ["example_images/polar_bear_coke.png","Can you write an advertisement jingle based on this image for Coca-Cola?"],
757
- ["example_images/rabbit_force.png","What is so macho and qute about this image?"],
758
- ["example_images/ramen.png","What is happening in this image and is it unusual?"],
759
- ["example_images/tree_fortress.jpg","What I should look most forward to when I visit here?"],
760
  ["<fake_token_around_image><image:https://huggingface.co/spaces/ysharma/m4-dialogue/resolve/main/images/bear.jpg><fake_token_around_image> Describe this image", None],
761
  ],
762
  inputs=[textbox, imagebox],
 
747
  )
748
 
749
  gr.Examples(examples=[
750
+ ["What are the armed baguettes guarding?", "example_images/baguettes_guarding_paris.png"],
751
+ ["Can you describe the image?", "example_images/bear_costume.png"],
752
+ ["What is this object and do you think it is horrifying?", "example_images/can_horror.png"],
753
+ ["Can you tell me a very short story based on this image?", "example_images/chicken_on_money.png"],
754
+ ["Describe the image in vivid details?", "example_images/dragons_playing.png"],
755
+ ["Can you tell me about this image and why is it so cool?", "example_images/ironman_cap.png"],
756
+ ["Can you write an advertisement jingle based on this image for Coca-Cola?", "example_images/polar_bear_coke.png"],
757
+ ["What is so macho and qute about this image?", "example_images/rabbit_force.png"],
758
+ ["What is happening in this image and is it unusual?", "example_images/ramen.png"],
759
+ ["What I should look most forward to when I visit here?", "example_images/tree_fortress.jpg"],
760
  ["<fake_token_around_image><image:https://huggingface.co/spaces/ysharma/m4-dialogue/resolve/main/images/bear.jpg><fake_token_around_image> Describe this image", None],
761
  ],
762
  inputs=[textbox, imagebox],