ysharma HF staff commited on
Commit
dc019e5
1 Parent(s): c71dfe1

added custom textbox

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -196,14 +196,16 @@ chatbot_batch = gr.Chatbot(avatar_images=('user1.png', 'bot1.png'),bubble_full_w
196
  chat_interface_stream = gr.ChatInterface(predict,
197
  title=title,
198
  description=description,
 
199
  chatbot=chatbot_stream,
200
  css=css,
201
  examples=examples,
202
  cache_examples=True,
203
  additional_inputs=additional_inputs,)
204
- chat_interface_batch = gr.ChatInterface(predict_batch,
205
  title=title,
206
  description=description,
 
207
  chatbot=chatbot_batch,
208
  css=css,
209
  examples=examples,
 
196
  chat_interface_stream = gr.ChatInterface(predict,
197
  title=title,
198
  description=description,
199
+ textbox=gr.Textbox(lines=5),
200
  chatbot=chatbot_stream,
201
  css=css,
202
  examples=examples,
203
  cache_examples=True,
204
  additional_inputs=additional_inputs,)
205
+ chat_interface_batch=gr.ChatInterface(predict_batch,
206
  title=title,
207
  description=description,
208
+ textbox=gr.Textbox(lines=5),
209
  chatbot=chatbot_batch,
210
  css=css,
211
  examples=examples,