openfree commited on
Commit
bd6e414
·
verified ·
1 Parent(s): f2d66b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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 = detect_diagram_type_with_score(title, content)
 
 
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