Spaces:
Runtime error
Runtime error
Haozhangcx
commited on
Commit
•
26bff10
1
Parent(s):
cb20b65
Update app.py
Browse files
app.py
CHANGED
@@ -398,29 +398,11 @@ with gr.Blocks(
|
|
398 |
],
|
399 |
"text": "Please write a twitter blog post with the images.",
|
400 |
}
|
401 |
-
]
|
402 |
-
|
403 |
-
{
|
404 |
-
"files": [
|
405 |
-
f"{cur_dir}/examples/twitter3.jpeg",
|
406 |
-
f"{cur_dir}/examples/twitter4.jpeg",
|
407 |
-
],
|
408 |
-
"text": "Please write a twitter blog post with the images.",
|
409 |
-
}
|
410 |
-
],
|
411 |
-
[
|
412 |
-
{
|
413 |
-
"files": [
|
414 |
-
f"playground/demo/examples/lion1_.mp4",
|
415 |
-
f"playground/demo/examples/lion2_.mp4",
|
416 |
-
],
|
417 |
-
"text": "The input contains two videos, the first half is the first video and the second half is the second video. What is the difference between the two videos?",
|
418 |
-
}
|
419 |
-
],
|
420 |
],
|
421 |
inputs=[chat_input],
|
422 |
-
label="Compare images: "
|
423 |
-
examples_per_page=3,
|
424 |
)
|
425 |
|
426 |
chat_msg = chat_input.submit(
|
|
|
398 |
],
|
399 |
"text": "Please write a twitter blog post with the images.",
|
400 |
}
|
401 |
+
]
|
402 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
],
|
404 |
inputs=[chat_input],
|
405 |
+
label="Compare images: "
|
|
|
406 |
)
|
407 |
|
408 |
chat_msg = chat_input.submit(
|