Daemontatox commited on
Commit
06bc4a3
·
verified ·
1 Parent(s): bcb6db5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -143,14 +143,10 @@ with gr.Blocks(title="Multimodal Chat Assistant") as demo:
143
  gr.Slider(100, 4096, value=1024, label="Max Response Length"),
144
  gr.File(file_count="multiple", file_types=["image", "pdf"], label="Upload Files")
145
  ],
146
- stop_btn="Stop",
147
- clear_btn="Clear History"
148
  )
149
 
150
- chat_interface.clear_btn.click(
151
- fn=clear_chat,
152
- outputs=[chat_interface.chatbot]
153
- )
154
 
155
  if __name__ == "__main__":
156
  demo.launch(debug=True)
 
143
  gr.Slider(100, 4096, value=1024, label="Max Response Length"),
144
  gr.File(file_count="multiple", file_types=["image", "pdf"], label="Upload Files")
145
  ],
146
+
 
147
  )
148
 
149
+
 
 
 
150
 
151
  if __name__ == "__main__":
152
  demo.launch(debug=True)