Spaces:
Paused
Paused
Update app.py
Browse files
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):
|