ysharma HF staff commited on
Commit
80d9b3b
·
verified ·
1 Parent(s): 4f87f94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"]},