Spaces:
Sleeping
Sleeping
see if display issue on ai-generated summary is fixed
Browse files
app.py
CHANGED
|
@@ -437,7 +437,7 @@ Provide a concise, actionable summary (2-3 sentences) highlighting what matters
|
|
| 437 |
|
| 438 |
if summary and len(summary) > 20:
|
| 439 |
logger.info(f"Successfully generated summary with {model}")
|
| 440 |
-
return f"**{audience} Summary (via {model.split('/')[-1]}):**\n
|
| 441 |
else:
|
| 442 |
# Handle cases where the model returns an empty summary
|
| 443 |
logger.warning(f"Model {model} returned an empty or short summary.")
|
|
|
|
| 437 |
|
| 438 |
if summary and len(summary) > 20:
|
| 439 |
logger.info(f"Successfully generated summary with {model}")
|
| 440 |
+
return f"**{audience} Summary (via {model.split('/')[-1]}):**\n{summary}"
|
| 441 |
else:
|
| 442 |
# Handle cases where the model returns an empty summary
|
| 443 |
logger.warning(f"Model {model} returned an empty or short summary.")
|