Commit
Β·
2ae13c5
1
Parent(s):
aab630b
Fix Gradio Chatbot compatibility - remove type='messages' parameter for older Gradio versions
Browse files
app.py
CHANGED
@@ -229,11 +229,10 @@ while True:
|
|
229 |
demo_chatbot = gr.Chatbot(
|
230 |
label="Chat with Adam [DEMO]",
|
231 |
height=500,
|
232 |
-
type="messages",
|
233 |
value=[
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
]
|
238 |
)
|
239 |
|
@@ -255,9 +254,8 @@ while True:
|
|
255 |
mcp_demo_chatbot = gr.Chatbot(
|
256 |
label="Chat with Liam [DEMO]",
|
257 |
height=500,
|
258 |
-
type="messages",
|
259 |
value=[
|
260 |
-
|
261 |
]
|
262 |
)
|
263 |
|
@@ -271,9 +269,8 @@ while True:
|
|
271 |
agent_demo_chatbot = gr.Chatbot(
|
272 |
label="Agent Builder Assistant [DEMO]",
|
273 |
height=500,
|
274 |
-
type="messages",
|
275 |
value=[
|
276 |
-
|
277 |
]
|
278 |
)
|
279 |
|
|
|
229 |
demo_chatbot = gr.Chatbot(
|
230 |
label="Chat with Adam [DEMO]",
|
231 |
height=500,
|
|
|
232 |
value=[
|
233 |
+
[None, "π Hello! I'm Adam, your general-purpose assistant. In the full version, I have access to MCP tools like screenshot capture, web search, file operations, and more!"],
|
234 |
+
["Can you take a screenshot of a website?", None],
|
235 |
+
[None, "In the full version, I would use the MCP screenshot tool to capture any website. This demo version doesn't have live MCP connections, but you can see how it would work in the full GitHub version!"]
|
236 |
]
|
237 |
)
|
238 |
|
|
|
254 |
mcp_demo_chatbot = gr.Chatbot(
|
255 |
label="Chat with Liam [DEMO]",
|
256 |
height=500,
|
|
|
257 |
value=[
|
258 |
+
[None, "π I'm Liam, your MCP development specialist. In the full version, I can help you build, test, and deploy MCP servers!"]
|
259 |
]
|
260 |
)
|
261 |
|
|
|
269 |
agent_demo_chatbot = gr.Chatbot(
|
270 |
label="Agent Builder Assistant [DEMO]",
|
271 |
height=500,
|
|
|
272 |
value=[
|
273 |
+
[None, "π I'm Arthur, your agent creation specialist. In the full version, I can help you create custom agents for data analysis, creative writing, code review, and more!"]
|
274 |
]
|
275 |
)
|
276 |
|