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