Didier commited on
Commit
b858dbe
·
verified ·
1 Parent(s): fef143a

Update module_chat.py

Browse files
Files changed (1) hide show
  1. module_chat.py +2 -1
module_chat.py CHANGED
@@ -25,6 +25,7 @@ with gr.Blocks() as demo:
25
  examples=[
26
  "How can we rationalize quantum entanglement?",
27
  "Peux-tu expliquer le terme 'quantum spin'?",
 
28
  {'files': ['./sample_ID.jpeg',], 'text': 'Describe this image in a few words.'},
29
  {
30
  'files': ['./sample_ID.jpeg',],
@@ -33,7 +34,7 @@ with gr.Blocks() as demo:
33
  'and present it as a bulleted list?')
34
  },
35
  ],
36
- cache_examples=False
37
  )
38
 
39
  if __name__ == "__main__":
 
25
  examples=[
26
  "How can we rationalize quantum entanglement?",
27
  "Peux-tu expliquer le terme 'quantum spin'?",
28
+ {'files': ['./passport_jp.png',], 'text': 'Can you extract the information present in the image?'}
29
  {'files': ['./sample_ID.jpeg',], 'text': 'Describe this image in a few words.'},
30
  {
31
  'files': ['./sample_ID.jpeg',],
 
34
  'and present it as a bulleted list?')
35
  },
36
  ],
37
+ cache_examples=True
38
  )
39
 
40
  if __name__ == "__main__":