Skip to content

Commit

Permalink
update demo example
Browse files Browse the repository at this point in the history
Former-commit-id: 5c1b621ebbf17af7843d20226c6759b2b65b8aea
  • Loading branch information
cliangyu committed Apr 30, 2023
1 parent b8dc46c commit 5594b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/serve/gradio_web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def build_demo(embed_mode):
gr.Examples(
examples=[
[f"{cur_dir}/examples/cat.jpg", "An image of", "two cats.", f"{cur_dir}/examples/bathroom.jpg", "An image of", "a bathroom sink.", f"{cur_dir}/examples/dinner.jpg", "An image of"],
[f"{cur_dir}/examples/baseball.jpg", "What is the potential danger of this sport?", "bumped into others while chasing ball.", f"{cur_dir}/examples/tennis.jpg", "What is the potential danger of this sport?", "hitted by the tennis ball.", f"{cur_dir}/examples/soccer.png", "What is the potential danger of this sport?"],
[f"{cur_dir}/examples/tennis.jpg", "What is the danger of this sport?", "The player may get hitted by the tennis ball.", f"{cur_dir}/examples/baseball.jpg", "What is the danger of this sport?", "While chasing the baseball, the player may inadvertently collide with other players.", f"{cur_dir}/examples/soccer.png", "What is the danger of this sport?"],
],
inputs=[
imagebox_demo_1,
Expand Down

0 comments on commit 5594b7d

Please sign in to comment.