Update module_chat.py
Browse files- module_chat.py +9 -5
module_chat.py
CHANGED
|
@@ -25,13 +25,17 @@ with gr.Blocks() as demo:
|
|
| 25 |
examples=[
|
| 26 |
"How can we rationalize quantum entanglement?",
|
| 27 |
"Peux-tu expliquer le terme 'quantum spin'?",
|
| 28 |
-
{
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
{
|
| 31 |
'files': ['./sample_ID.jpeg',],
|
| 32 |
-
'text':
|
| 33 |
-
'Could you extract the information present in the image '
|
| 34 |
-
'and present it as a bulleted list?')
|
| 35 |
},
|
| 36 |
],
|
| 37 |
cache_examples=True
|
|
|
|
| 25 |
examples=[
|
| 26 |
"How can we rationalize quantum entanglement?",
|
| 27 |
"Peux-tu expliquer le terme 'quantum spin'?",
|
| 28 |
+
{
|
| 29 |
+
'files': ['./passport_jp.png',],
|
| 30 |
+
'text': 'Can you extract the information present in the image?'
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
'files': ['./sample_ID.jpeg',], 'text':
|
| 34 |
+
'Describe this image in a few words.'
|
| 35 |
+
},
|
| 36 |
{
|
| 37 |
'files': ['./sample_ID.jpeg',],
|
| 38 |
+
'text': 'Could you extract the information present in the image?'
|
|
|
|
|
|
|
| 39 |
},
|
| 40 |
],
|
| 41 |
cache_examples=True
|