Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,7 @@ try:
|
|
20 |
# Define Gradio ChatInterface
|
21 |
demo = gr.ChatInterface(
|
22 |
fn=lambda message, history: str(agent.run(message)),
|
|
|
23 |
title="Agent with MCP Tools",
|
24 |
description="This is a simple agent that uses MCP tools to get chapters of the Quran.",
|
25 |
)
|
|
|
20 |
# Define Gradio ChatInterface
|
21 |
demo = gr.ChatInterface(
|
22 |
fn=lambda message, history: str(agent.run(message)),
|
23 |
+
type="messages",
|
24 |
title="Agent with MCP Tools",
|
25 |
description="This is a simple agent that uses MCP tools to get chapters of the Quran.",
|
26 |
)
|