ysharma HF Staff commited on
Commit
291586f
·
verified ·
1 Parent(s): ffc2dd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def _generate(text: str):
27
 
28
  @app.mcp.tool(name="summarize")
29
  @app.api(name="summarize", concurrency_limit=1, stream_every=0.2)
30
- def summarize(text: str):
31
  """Summarize the input text into 3 bullet points."""
32
  out = ""
33
  for chunk in _generate(text):
 
27
 
28
  @app.mcp.tool(name="summarize")
29
  @app.api(name="summarize", concurrency_limit=1, stream_every=0.2)
30
+ def summarize(text: str) -> str:
31
  """Summarize the input text into 3 bullet points."""
32
  out = ""
33
  for chunk in _generate(text):