com3dian commited on
Commit
d84c09e
·
verified ·
1 Parent(s): 034b0a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def format(text_list):
83
  # Split text by periods
84
  sentences = text.split('.')
85
  # Create HTML list items
86
- list_items = "".join(["- {sentence.strip()}" for sentence in sentences if sentence.strip()])
87
  format_list.append(list_items)
88
  return format_list
89
 
 
83
  # Split text by periods
84
  sentences = text.split('.')
85
  # Create HTML list items
86
+ list_items = "".join([f"- {sentence.strip()}\n" for sentence in sentences if sentence.strip()])
87
  format_list.append(list_items)
88
  return format_list
89