Spaces:
Sleeping
Sleeping
Replace bullet points with dashes for PDF compatibility
Browse files- vault_logic.py +1 -1
vault_logic.py
CHANGED
|
@@ -133,7 +133,7 @@ def ai_summarize_text(text):
|
|
| 133 |
sentences = [str(s) for s in blob.sentences]
|
| 134 |
|
| 135 |
if len(sentences) > 2:
|
| 136 |
-
summary = "AI Summary:\n" + "\n".join([f"
|
| 137 |
|
| 138 |
# NEW: Log the usage here!
|
| 139 |
track_usage(text, type="input")
|
|
|
|
| 133 |
sentences = [str(s) for s in blob.sentences]
|
| 134 |
|
| 135 |
if len(sentences) > 2:
|
| 136 |
+
summary = "AI Summary:\n" + "\n".join([f"- {s}" for s in sentences[:2]])
|
| 137 |
|
| 138 |
# NEW: Log the usage here!
|
| 139 |
track_usage(text, type="input")
|