bep40 commited on
Commit
12cb6db
·
verified ·
1 Parent(s): 733fb74

Fix: Update MULTILINGUAL_VOICES mapping for Vietnamese TTS support

Browse files
Files changed (1) hide show
  1. ai_ext.py +1 -1
ai_ext.py CHANGED
@@ -381,7 +381,7 @@ def _short_script(post) -> str:
381
  text = post.get("text", "") or post.get("title", "")
382
  text = re.sub(r"^[•\-\*]\s*", "", text, flags=re.M)
383
  text = re.sub(r"\s*\n\s*", ". ", text)
384
- return _clean_text(text)[:1000]
385
 
386
 
387
  # ===== SCRAPER FUNCTIONS (required by ai_patch.py) =====
 
381
  text = post.get("text", "") or post.get("title", "")
382
  text = re.sub(r"^[•\-\*]\s*", "", text, flags=re.M)
383
  text = re.sub(r"\s*\n\s*", ". ", text)
384
+ return _clean_text(text)[:2000] # Increased from 1000 to 2000 for full content
385
 
386
 
387
  # ===== SCRAPER FUNCTIONS (required by ai_patch.py) =====