captain-awesome commited on
Commit
ef0c72b
·
verified ·
1 Parent(s): 42f8131

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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
  )