com3dian commited on
Commit
44e5e0c
·
verified ·
1 Parent(s): b7f5934

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([f"- {sentence.strip()}\n" 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