HugoLaurencon HF staff commited on
Commit
05d9f26
1 Parent(s): 28dfb34

add pro tip

Browse files
Files changed (1) hide show
  1. app_dialogue.py +5 -0
app_dialogue.py CHANGED
@@ -477,6 +477,11 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
477
  inputs=decoding_strategy,
478
  outputs=top_p,
479
  )
 
 
 
 
 
480
 
481
  def model_inference(
482
  model_selector,
 
477
  inputs=decoding_strategy,
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(
487
  model_selector,