bharatcoder commited on
Commit
4d88a04
·
verified ·
1 Parent(s): 0a09255

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,7 +69,7 @@ def smoldocling_readimage(image: Image.Image, prompt_text: str) -> str:
69
  # -----------------------------
70
  # Wrapper for MCP schema compatibility
71
  # -----------------------------
72
- def smoldocling_entry(image, prompt_text: str) -> str:
73
  """
74
  Entry point for MCP tool.
75
  Accepts any of:
@@ -100,4 +100,4 @@ with gr.Blocks() as demo:
100
 
101
  # Launch MCP server mode
102
  _, url, _ = demo.launch(mcp_server=True)
103
- print(f"MCP Server running at: {url}")
 
69
  # -----------------------------
70
  # Wrapper for MCP schema compatibility
71
  # -----------------------------
72
+ def smoldocling_entry(image: object, prompt_text: str) -> str:
73
  """
74
  Entry point for MCP tool.
75
  Accepts any of:
 
100
 
101
  # Launch MCP server mode
102
  _, url, _ = demo.launch(mcp_server=True)
103
+ print(f"MCP Server running at: {url}")