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

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.startswith('**') and (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('**') or line.startswith('### **')) and (line.endswith('?**') or line.endswith(':**')):
37
  heading = line
38
  i += 1
39