nugentc commited on
Commit
337fe11
·
1 Parent(s): 6bbb073

add a conversation label

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,11 +37,11 @@ def feedback(text):
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",
46
  )
47
  iface.launch()
 
37
  iface = gr.Interface(
38
  chat,
39
  [gr.Textbox(label="Send messages here"), "state"],
40
+ [gr.Chatbot(color_map=("green", "gray"), label='Conversation'), "state", gr.Textbox(
41
  label="Feedback",
42
  lines=1
43
  )],
44
+ allow_screenshot=False,
45
  allow_flagging="never",
46
  )
47
  iface.launch()