nugentc commited on
Commit
6bbb073
·
1 Parent(s): 2ddaf14

add some labels

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -36,11 +36,10 @@ def feedback(text):
36
 
37
  iface = gr.Interface(
38
  chat,
39
- ["text", "state"],
40
- ["chatbot", "state", gr.Textbox(
41
  label="Feedback",
42
- lines=1,
43
- value="Feedback on use of language will appear here",
44
  )],
45
  allow_screenshot=True,
46
  allow_flagging="never",
 
36
 
37
  iface = gr.Interface(
38
  chat,
39
+ [gr.Textbox(label="Send messages here"), "state"],
40
+ [gr.Chatbot(color_map=("green", "gray")), "state", gr.Textbox(
41
  label="Feedback",
42
+ lines=1
 
43
  )],
44
  allow_screenshot=True,
45
  allow_flagging="never",