Spaces:
Build error
Build error
Commit
·
18b7bba
1
Parent(s):
58777cc
Update app_dialogue.py
Browse files- app_dialogue.py +5 -19
app_dialogue.py
CHANGED
|
@@ -265,8 +265,7 @@ def model_generation(
|
|
| 265 |
textbox = gr.Textbox(
|
| 266 |
show_label=False,
|
| 267 |
value=(
|
| 268 |
-
"<fake_token_around_image><image:https://
|
| 269 |
-
" all of the parts of this image."
|
| 270 |
),
|
| 271 |
placeholder=(
|
| 272 |
"To input images, use the following syntax:"
|
|
@@ -336,31 +335,18 @@ with gr.Blocks(title="IDEFICS", theme=gr.themes.Base()) as demo:
|
|
| 336 |
value=[
|
| 337 |
[
|
| 338 |
(
|
| 339 |
-
"
|
| 340 |
-
" one?<fake_token_around_image><image:https://upload.wikimedia.org/wikipedia/commons/thumb/d/db/Alpaca_%2831562329701%29.jpg/640px-Alpaca_%2831562329701%29.jpg><fake_token_around_image>"
|
| 341 |
),
|
| 342 |
(
|
| 343 |
-
"
|
| 344 |
-
" areas, such as farms or ranches. Llamas are often used as pack animals in mountainous"
|
| 345 |
-
" regions, as they are well-adapted to the challenging terrain and can carry heavy loads."
|
| 346 |
-
" They are also valued for their wool, which is used to make clothing and other textiles."
|
| 347 |
-
" In addition, llamas are sometimes kept as pets or for their therapeutic benefits, as"
|
| 348 |
-
" they are known to be calm and gentle animals."
|
| 349 |
),
|
| 350 |
],
|
| 351 |
[
|
| 352 |
(
|
| 353 |
-
"
|
| 354 |
-
" that<fake_token_around_image><image:https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Nassau_County_Police_Bell_407.jpg/1200px-Nassau_County_Police_Bell_407.jpg><fake_token_around_image>?"
|
| 355 |
),
|
| 356 |
(
|
| 357 |
-
"The
|
| 358 |
-
" exact number of animals that can fit into it based on the image alone. The size and"
|
| 359 |
-
" capacity of the helicopter's engine would depend on various factors, such as the size of"
|
| 360 |
-
" the animals, the weight of the animals, and the size of the helicopter itself. However,"
|
| 361 |
-
" it is safe to assume that the helicopter is designed to carry a limited number of"
|
| 362 |
-
" animals, and it is not intended to be used as a means of transporting large groups of"
|
| 363 |
-
" animals."
|
| 364 |
),
|
| 365 |
],
|
| 366 |
],
|
|
|
|
| 265 |
textbox = gr.Textbox(
|
| 266 |
show_label=False,
|
| 267 |
value=(
|
| 268 |
+
"<fake_token_around_image><image:https://www.boredpanda.com/blog/wp-content/uploads/2014/02/funny-wet-cats-coverimage.jpg><fake_token_around_image>How about this cat?"
|
|
|
|
| 269 |
),
|
| 270 |
placeholder=(
|
| 271 |
"To input images, use the following syntax:"
|
|
|
|
| 335 |
value=[
|
| 336 |
[
|
| 337 |
(
|
| 338 |
+
"What's unusual about this image?<fake_token_around_image><image:https://i.redd.it/9nkcvbi1pp9y.jpg><fake_token_around_image>"
|
|
|
|
| 339 |
),
|
| 340 |
(
|
| 341 |
+
"The unusual aspect of this image is the presence of an orange on top of a cat. The cat is laying on a bed, and the orange is placed on top of it."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 342 |
),
|
| 343 |
],
|
| 344 |
[
|
| 345 |
(
|
| 346 |
+
"What is the color of the cat?"
|
|
|
|
| 347 |
),
|
| 348 |
(
|
| 349 |
+
"The cat is white."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 350 |
),
|
| 351 |
],
|
| 352 |
],
|