update the example images' path
Browse files
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:
|