Spaces:
Build error
Build error
add a conversation label
Browse files
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=
|
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()
|