MMADS commited on
Commit
0c87a9d
·
1 Parent(s): 5f8d8c5

see if display issue on ai-generated summary is fixed

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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\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.")
 
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.")