not-lain commited on
Commit
b7649c8
1 Parent(s): 4e99479

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -142,6 +142,6 @@ latex_delimiters_set = [{
142
  "display": True
143
  }]
144
 
145
-
146
- demo = gr.ChatInterface(fn=ovis_chat, textbox=gr.MultimodalTextbox(),multimodal=True)
147
  demo.launch(debug=True)
 
142
  "display": True
143
  }]
144
 
145
+ hist= gr.Chatbot()
146
+ demo = gr.ChatInterface(fn=ovis_chat, textbox=gr.MultimodalTextbox(),multimodal=True,additional_inputs=hist)
147
  demo.launch(debug=True)