Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ def echo(message, history):
|
|
| 4 |
return message["text"]
|
| 5 |
|
| 6 |
demo = gr.ChatInterface(fn=echo,
|
|
|
|
| 7 |
examples=[{"text": "hello", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]},
|
| 8 |
{"text": "hola", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]},
|
| 9 |
{"text": "merhaba", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]},
|
|
|
|
| 4 |
return message["text"]
|
| 5 |
|
| 6 |
demo = gr.ChatInterface(fn=echo,
|
| 7 |
+
multimodal=True,
|
| 8 |
examples=[{"text": "hello", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]},
|
| 9 |
{"text": "hola", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]},
|
| 10 |
{"text": "merhaba", "files":["https://miro.medium.com/v2/resize:fit:930/1*OaV5eb_DRNIJQal_B7-YDQ.jpeg"]},
|