Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1597,7 +1597,9 @@ def create_advanced_ppt_from_content(
|
|
1597 |
for i, slide_data in enumerate(slides_data):
|
1598 |
title = slide_data.get('title', '')
|
1599 |
content = slide_data.get('content', '')
|
1600 |
-
diagram_type, score =
|
|
|
|
|
1601 |
if diagram_type and score > 0:
|
1602 |
diagram_candidates.append((i, diagram_type, score))
|
1603 |
|
|
|
1597 |
for i, slide_data in enumerate(slides_data):
|
1598 |
title = slide_data.get('title', '')
|
1599 |
content = slide_data.get('content', '')
|
1600 |
+
diagram_type, score = detect_flux_diagram_type(title, content)
|
1601 |
+
|
1602 |
+
|
1603 |
if diagram_type and score > 0:
|
1604 |
diagram_candidates.append((i, diagram_type, score))
|
1605 |
|