Spaces:
Runtime error
Runtime error
yizhangliu
commited on
Commit
·
ea13408
1
Parent(s):
c18076e
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,8 @@ def chat(message, chat_history):
|
|
33 |
with gr.Blocks(title='chat with chatgpt') as demo:
|
34 |
with gr.Group(elem_id="page_1", visible=True) as page_1:
|
35 |
with gr.Row(elem_id="prompt_row"):
|
36 |
-
chatbot = gr.Chatbot(elem_id="chat_bot").style(color_map=("green", "
|
|
|
37 |
with gr.Row():
|
38 |
prompt_input0 = gr.Textbox(lines=1, label="prompt",show_label=False)
|
39 |
chat_history = gr.Textbox(lines=4, label="prompt", visible=False)
|
|
|
33 |
with gr.Blocks(title='chat with chatgpt') as demo:
|
34 |
with gr.Group(elem_id="page_1", visible=True) as page_1:
|
35 |
with gr.Row(elem_id="prompt_row"):
|
36 |
+
chatbot = gr.Chatbot(elem_id="chat_bot").style(color_map=("green", "blue"))
|
37 |
+
chatbot1 = gr.Chatbot(elem_id="chat_bot1").style(color_map=("green", "blue"))
|
38 |
with gr.Row():
|
39 |
prompt_input0 = gr.Textbox(lines=1, label="prompt",show_label=False)
|
40 |
chat_history = gr.Textbox(lines=4, label="prompt", visible=False)
|