prithivMLmods commited on
Commit
778be2d
·
verified ·
1 Parent(s): d61cb5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -382,13 +382,16 @@ demo = gr.ChatInterface(
382
  gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
383
  ],
384
  examples=[
 
 
 
385
  ["Python Program for Array Rotation"],
386
  ["@tts1 Who is Nikola Tesla, and why did he die?"],
387
  ['@lightningv5 Chocolate dripping from a donut against a yellow background, in the style of brocore, hyper-realistic'],
388
  ['@lightningv4 A serene landscape with mountains'],
389
  ['@turbov3 Abstract art, colorful and vibrant'],
390
  ["@tts2 What causes rainbows to form?"],
391
- ["@aya-vision Describe the content of this image"],
392
  ],
393
  cache_examples=False,
394
  type="messages",
 
382
  gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
383
  ],
384
  examples=[
385
+
386
+ {"text": "@aya-vision Extract JSON from the image", "files": ["examples/document.jpg"]}],
387
+ [{"text": "@aya-vision Summarize the letter", "files": ["examples/1.png"]}],
388
  ["Python Program for Array Rotation"],
389
  ["@tts1 Who is Nikola Tesla, and why did he die?"],
390
  ['@lightningv5 Chocolate dripping from a donut against a yellow background, in the style of brocore, hyper-realistic'],
391
  ['@lightningv4 A serene landscape with mountains'],
392
  ['@turbov3 Abstract art, colorful and vibrant'],
393
  ["@tts2 What causes rainbows to form?"],
394
+ [" Describe the content of this image"],
395
  ],
396
  cache_examples=False,
397
  type="messages",