ysharma HF staff commited on
Commit
ec73d16
1 Parent(s): ea86efe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -190,7 +190,7 @@ chatbot_batch = gr.Chatbot(avatar_images=('user1.png', 'bot1.png'),bubble_full_w
190
  chat_interface_stream = gr.ChatInterface(predict,
191
  title=title,
192
  description=description,
193
- chatbot=chatbot,
194
  css=css,
195
  examples=examples,
196
  cache_examples=True,
@@ -198,7 +198,7 @@ chat_interface_stream = gr.ChatInterface(predict,
198
  chat_interface_batch = gr.ChatInterface(predict_batch,
199
  title=title,
200
  description=description,
201
- chatbot=chatbot,
202
  css=css,
203
  examples=examples,
204
  cache_examples=True,
 
190
  chat_interface_stream = gr.ChatInterface(predict,
191
  title=title,
192
  description=description,
193
+ chatbot=chatbot_stream,
194
  css=css,
195
  examples=examples,
196
  cache_examples=True,
 
198
  chat_interface_batch = gr.ChatInterface(predict_batch,
199
  title=title,
200
  description=description,
201
+ chatbot=chatbot_batch,
202
  css=css,
203
  examples=examples,
204
  cache_examples=True,