Senqiao commited on
Commit
e6f44db
·
1 Parent(s): b0b7b8a

update the example images' path

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -617,8 +617,8 @@ def build_demo(embed_mode, cur_dir=None, concurrency_count=10):
617
  if cur_dir is None:
618
  cur_dir = os.path.dirname(os.path.abspath(__file__))
619
  gr.Examples(examples=[
620
- [f"{cur_dir}/examples/extreme_ironing.jpg", "What is unusual about this image?"],
621
- [f"{cur_dir}/examples/waterview.jpg", "What are the things I should be cautious about when I visit here?"],
622
  ], inputs=[imagebox, textbox])
623
 
624
  with gr.Accordion("Parameters", open=False) as parameter_row:
 
617
  if cur_dir is None:
618
  cur_dir = os.path.dirname(os.path.abspath(__file__))
619
  gr.Examples(examples=[
620
+ [f"{cur_dir}/llava/serve/examples/extreme_ironing.jpg", "What is unusual about this image?"],
621
+ [f"{cur_dir}/llava/serve/examples/waterview.jpg", "What are the things I should be cautious about when I visit here?"],
622
  ], inputs=[imagebox, textbox])
623
 
624
  with gr.Accordion("Parameters", open=False) as parameter_row: