Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,14 +5,14 @@ def echo(message, history):
|
|
5 |
|
6 |
demo = gr.ChatInterface(fn=echo,
|
7 |
multimodal=True,
|
8 |
-
examples=[[{"text": "
|
9 |
-
[{"text": "
|
10 |
-
[{"text": "
|
11 |
-
[{"text": "
|
12 |
-
[{"text": "
|
13 |
-
[{"text": "
|
14 |
-
[{"text": "
|
15 |
-
[{"text": "
|
16 |
title="Echo Bot",
|
17 |
)
|
18 |
demo.launch()
|
|
|
5 |
|
6 |
demo = gr.ChatInterface(fn=echo,
|
7 |
multimodal=True,
|
8 |
+
examples=[[{"text": "This is a sample text. This is a sample text. This is a sample text.", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]}],
|
9 |
+
[{"text": "This is a sample text. This is a sample text. This is a sample text.", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]}],
|
10 |
+
[{"text": "This is a sample text. This is a sample text. This is a sample text.", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]}],
|
11 |
+
[{"text": "This is a sample text. This is a sample text. This is a sample text.", "files":["https://www.gradio.app/_app/immutable/assets/header-image.DJQS6l6U.jpg"]}],
|
12 |
+
[{"text": "This is a sample text. This is a sample text. This is a sample text.", "files":["https://miro.medium.com/v2/da:true/resize:fit:1024/1*iJArJfAGlqMj7Uz7OU-Hdw.gif"]}],
|
13 |
+
[{"text": "This is a sample text. This is a sample text. This is a sample text.", "files":["https://digitalpress.fra1.cdn.digitaloceanspaces.com/mhujhsj/2022/09/seaborn.gif"]}],
|
14 |
+
[{"text": "This is a sample text. This is a sample text. This is a sample text.", "files":["https://user-images.githubusercontent.com/1778297/158659207-04015a06-5cad-4ee1-bdbd-291054551540.png"]}],
|
15 |
+
[{"text": "This is a sample text. This is a sample text. This is a sample text.", "files":["https://user-images.githubusercontent.com/1778297/158659207-04015a06-5cad-4ee1-bdbd-291054551540.png"]}]],
|
16 |
title="Echo Bot",
|
17 |
)
|
18 |
demo.launch()
|