Update module_chat.py
Browse files- module_chat.py +11 -11
module_chat.py
CHANGED
|
@@ -22,17 +22,17 @@ with gr.Blocks() as demo:
|
|
| 22 |
fn=process,
|
| 23 |
#description="Chat with text or text+image.",
|
| 24 |
multimodal=True,
|
| 25 |
-
examples=[
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
]
|
| 36 |
)
|
| 37 |
|
| 38 |
if __name__ == "__main__":
|
|
|
|
| 22 |
fn=process,
|
| 23 |
#description="Chat with text or text+image.",
|
| 24 |
multimodal=True,
|
| 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',],
|
| 31 |
+
# 'text': (
|
| 32 |
+
# 'Could you extract the information present in the image '
|
| 33 |
+
# 'and present it as a bulleted list?')
|
| 34 |
+
# },
|
| 35 |
+
#]
|
| 36 |
)
|
| 37 |
|
| 38 |
if __name__ == "__main__":
|