kingabzpro commited on
Commit
40db2bf
1 Parent(s): 5effe8e

hex color added and reduce line

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,11 +44,11 @@ with demo:
44
  """
45
  )
46
  state = gr.Variable(value=[])
47
- chatbot = gr.Chatbot(color_map=("Green","blue"))
48
  text = gr.Textbox(
49
  label="Talk to Morty here... (press enter to submit)",
50
  value="How are you?",
51
- max_lines=2,
52
  )
53
 
54
  text.submit(predict, [text, state], [chatbot, state])
 
44
  """
45
  )
46
  state = gr.Variable(value=[])
47
+ chatbot = gr.Chatbot(color_map=("#00ff80","#0080ff"))
48
  text = gr.Textbox(
49
  label="Talk to Morty here... (press enter to submit)",
50
  value="How are you?",
51
+ max_lines=1,
52
  )
53
 
54
  text.submit(predict, [text, state], [chatbot, state])