T.Masuda commited on
Commit
079db35
·
1 Parent(s): c476863

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ with gr.Blocks(title='question answering ja') as app:
41
 
42
  chatbot = gr.Chatbot(label='answer')
43
  msg = gr.Textbox(label='question')
44
- maxlen = gr.Slider(minimum=30, maximum=256, value=30, step=1, label='max length')
45
  clear = gr.ClearButton([msg, chatbot])
46
 
47
  def respond(message, maxlen, chat_history):
 
41
 
42
  chatbot = gr.Chatbot(label='answer')
43
  msg = gr.Textbox(label='question')
44
+ maxlen = gr.Slider(minimum=30, maximum=100, value=30, step=1, label='max length')
45
  clear = gr.ClearButton([msg, chatbot])
46
 
47
  def respond(message, maxlen, chat_history):