Abid commited on
Commit
6b33587
·
1 Parent(s): ca379a7

max line added

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -46,7 +46,8 @@ with demo:
46
  chatbot = gr.Chatbot()
47
  text = gr.Textbox(
48
  label="Talk to Morty here... (press enter to submit)",
49
- # default_value="How are you?",
 
50
  )
51
 
52
  text.submit(predict, [text, state], [chatbot, state])
 
46
  chatbot = gr.Chatbot()
47
  text = gr.Textbox(
48
  label="Talk to Morty here... (press enter to submit)",
49
+ default_value="How are you?",
50
+ max_lines=1,
51
  )
52
 
53
  text.submit(predict, [text, state], [chatbot, state])