sreepathi-ravikumar commited on
Commit
9c0ade8
·
verified ·
1 Parent(s): 9bc34e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def generate_video():
39
 
40
  # Collect paragraph lines
41
  paragraph_lines = []
42
- while i < len(raw_lines) and not (raw_lines[i].strip().endswith('?') or raw_lines[i].strip().endswith(':')):
43
  if raw_lines[i].strip():
44
  paragraph_lines.append(raw_lines[i].strip())
45
  i += 1
 
39
 
40
  # Collect paragraph lines
41
  paragraph_lines = []
42
+ while i < len(raw_lines) and not (raw_lines[i].strip().startswith('**') and raw_lines[i].strip().endswith('**')):
43
  if raw_lines[i].strip():
44
  paragraph_lines.append(raw_lines[i].strip())
45
  i += 1