HugoLaurencon HF staff commited on
Commit
1987900
1 Parent(s): 05d9f26
Files changed (1) hide show
  1. app_dialogue.py +4 -3
app_dialogue.py CHANGED
@@ -478,9 +478,10 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
478
  outputs=top_p,
479
  )
480
  gr.Markdown(
481
- """*Pro tip*: You can input an arbitrary number of images in the same text message.
482
- For this, you will need to input each image with its URL with the syntax `<fake_token_around_image><image:IMAGE_URL><fake_token_around_image>`.
483
- For example, for two images, you could input `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...`."""
 
484
  )
485
 
486
  def model_inference(
 
478
  outputs=top_p,
479
  )
480
  gr.Markdown(
481
+ """*Pro tip*: You can input an arbitrary number of images in the same text message.\
482
+ For this, you will need to input each image with its URL with the syntax `<fake_token_around_image><image:IMAGE_URL><fake_token_around_image>`.\
483
+ For example, for two images, you could input `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...`.\
484
+ In the particular case where two images are consecutive, it is not necessary to add an additional fake token, for example `<fake_token_around_image><image:IMAGE_URL_2><fake_token_around_image><image:IMAGE_URL_2><fake_token_around_image>`."""
485
  )
486
 
487
  def model_inference(