Spaces:
Sleeping
Sleeping
apple muncy
commited on
Commit
·
2d92cc6
1
Parent(s):
41685b3
fix gr.chatbot (type=...
Browse filesSigned-off-by: apple muncy <[email protected]>
app.py
CHANGED
@@ -107,7 +107,7 @@ def chat_fn(message, history):
|
|
107 |
# Create Gradio interface
|
108 |
with gr.Blocks() as demo:
|
109 |
gr.Markdown("### LangGraph Chat with Gradio")
|
110 |
-
chatbot = gr.Chatbot()
|
111 |
msg = gr.Textbox(label="Type your message")
|
112 |
send_btn = gr.Button("Send")
|
113 |
|
|
|
107 |
# Create Gradio interface
|
108 |
with gr.Blocks() as demo:
|
109 |
gr.Markdown("### LangGraph Chat with Gradio")
|
110 |
+
chatbot = gr.Chatbot(type="messages")
|
111 |
msg = gr.Textbox(label="Type your message")
|
112 |
send_btn = gr.Button("Send")
|
113 |
|