artyomboyko commited on
Commit
b8ee906
·
verified ·
1 Parent(s): 0aa2271

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -7,6 +7,10 @@ from smolagents.mcp_client import MCPClient
7
 
8
  model = InferenceClientModel()
9
 
 
 
 
 
10
  try:
11
  mcp_client = MCPClient(
12
  {"url": "https://artyomboyko-video-analyser.hf.space/gradio_api/mcp/sse"}
@@ -21,7 +25,7 @@ try:
21
  demo = gr.ChatInterface(
22
  fn=call_agent,
23
  type="messages",
24
- examples=["Prime factorization of 68"],
25
  title="Agent with MCP Tools",
26
  description="This is a simple agent that uses MCP tools to answer questions.",
27
  )
 
7
 
8
  model = InferenceClientModel()
9
 
10
+ test_question = """Analyze YouTube video at https://www.youtube.com/watch?v=AP81nzJLS-c.
11
+ Use 144p quality with 5-second frame interval.
12
+ """
13
+
14
  try:
15
  mcp_client = MCPClient(
16
  {"url": "https://artyomboyko-video-analyser.hf.space/gradio_api/mcp/sse"}
 
25
  demo = gr.ChatInterface(
26
  fn=call_agent,
27
  type="messages",
28
+ examples=[test_question],
29
  title="Agent with MCP Tools",
30
  description="This is a simple agent that uses MCP tools to answer questions.",
31
  )