sreepathi-ravikumar commited on
Commit
c8b31f9
·
verified ·
1 Parent(s): 178444c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def generate_video():
33
  line = raw_lines[i].strip()
34
 
35
  # Check if it's a heading
36
- if line.endswith('?') or line.endswith(';'):
37
  heading = line
38
  i += 1
39
 
 
33
  line = raw_lines[i].strip()
34
 
35
  # Check if it's a heading
36
+ if line.startswith('**') and (line.endswith('?**') or line.endswith(':**')):
37
  heading = line
38
  i += 1
39