Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|