Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,8 @@ def chat_cpu(user_input, chat_history=None):
|
|
35 |
iface = gr.Interface(
|
36 |
fn=chat_cpu,
|
37 |
inputs=["text", gr.Textbox(placeholder="Chat history will appear here", lines=10)],
|
38 |
-
outputs=[gr.
|
39 |
-
gr.
|
40 |
live=True,
|
41 |
layout="vertical",
|
42 |
theme="compact",
|
|
|
35 |
iface = gr.Interface(
|
36 |
fn=chat_cpu,
|
37 |
inputs=["text", gr.Textbox(placeholder="Chat history will appear here", lines=10)],
|
38 |
+
outputs=[gr.TextElement(text="BOT", id="bot_history", default="Chat AI"),
|
39 |
+
gr.TextElement(text="USER", id="user_history", default="")],
|
40 |
live=True,
|
41 |
layout="vertical",
|
42 |
theme="compact",
|