vilarin commited on
Commit
0d0766f
1 Parent(s): 9b91493

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -95,9 +95,12 @@ with gr.Blocks(css=CSS) as demo:
95
  gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
96
  gr.ChatInterface(
97
  fn=stream_chat,
 
 
 
98
  multimodal=True,
99
- chatbot=chatbot,
100
  textbox=chat_input,
 
101
  fill_height=True,
102
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
103
  additional_inputs=[
@@ -123,9 +126,6 @@ with gr.Blocks(css=CSS) as demo:
123
  render=False,
124
  ),
125
  ],
126
- examples=[{"text": "What is on the desk?", "files": ["./laptop.jpg"]},
127
- {"text": "Where it is?", "files": ["./hotel.jpg"]},
128
- {"text": "Can yo describe this image?", "files": ["./spacecat.png"]}],
129
  )
130
 
131
 
 
95
  gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
96
  gr.ChatInterface(
97
  fn=stream_chat,
98
+ examples=[{"text": "What is on the desk?", "files": ["./laptop.jpg"]},
99
+ {"text": "Where it is?", "files": ["./hotel.jpg"]},
100
+ {"text": "Can yo describe this image?", "files": ["./spacecat.png"]}],
101
  multimodal=True,
 
102
  textbox=chat_input,
103
+ chatbot=chatbot,
104
  fill_height=True,
105
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
106
  additional_inputs=[
 
126
  render=False,
127
  ),
128
  ],
 
 
 
129
  )
130
 
131