Spaces:
Runtime error
Runtime error
HugoLaurencon
commited on
Commit
•
e9c2350
1
Parent(s):
05ddc83
pro_tip_fix (#34)
Browse files- change pro tip html (7100620a3a6ca51f8c44c56db701cdf2b154262f)
- app_dialogue.py +5 -5
app_dialogue.py
CHANGED
@@ -480,11 +480,11 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
|
|
480 |
outputs=top_p,
|
481 |
)
|
482 |
gr.Markdown(
|
483 |
-
"""
|
484 |
-
You can input an arbitrary number of images at arbitrary positions in the same query
|
485 |
-
You will need to input each image with its URL with the syntax
|
486 |
-
For example, for two images, you could input
|
487 |
-
In the particular case where two images are consecutive, it is not necessary to add an additional separator:
|
488 |
)
|
489 |
|
490 |
def model_inference(
|
|
|
480 |
outputs=top_p,
|
481 |
)
|
482 |
gr.Markdown(
|
483 |
+
"""<p><strong>💡 Pro tip</strong>:<br>
|
484 |
+
You can input an arbitrary number of images at arbitrary positions in the same query.<br>
|
485 |
+
You will need to input each image with its URL with the syntax <code><fake_token_around_image><image:IMAGE_URL><fake_token_around_image></code>.<br>
|
486 |
+
For example, for two images, you could input <code>TEXT_1<fake_token_around_image><image:IMAGE_URL_1><fake_token_around_image>TEXT_2<fake_token_around_image><image:IMAGE_URL_2><fake_token_around_image>TEXT_3</code>.<br>
|
487 |
+
In the particular case where two images are consecutive, it is not necessary to add an additional separator: <code><fake_token_around_image><image:IMAGE_URL_1><fake_token_around_image><image:IMAGE_URL_2><fake_token_around_image></code>.</p>"""
|
488 |
)
|
489 |
|
490 |
def model_inference(
|