openfree commited on
Commit
efd34d8
ยท
verified ยท
1 Parent(s): 4f4ea1d

Update ppt_generator.py

Browse files
Files changed (1) hide show
  1. ppt_generator.py +16 -20
ppt_generator.py CHANGED
@@ -24,25 +24,6 @@ except ImportError:
24
 
25
  from PIL import Image
26
 
27
- # ๋กœ์ปฌ ๋ชจ๋“ˆ imports (์ด ํŒŒ์ผ๋“ค๋„ ๋ถ„๋ฆฌ ํ•„์š”)
28
- from design_themes import DESIGN_THEMES
29
- from diagram_utils import (
30
- detect_diagram_type_with_score,
31
- generate_diagram_json,
32
- generate_diagram_locally,
33
- DIAGRAM_GENERATORS_AVAILABLE
34
- )
35
- from image_generation import (
36
- generate_cover_image_prompt,
37
- generate_conclusion_image_prompt,
38
- generate_diverse_prompt,
39
- generate_flux_prompt,
40
- pick_flux_style,
41
- generate_ai_image_via_3d_api,
42
- AI_IMAGE_ENABLED
43
- )
44
- from emoji_utils import has_emoji, get_emoji_for_content
45
-
46
 
47
  ##############################################################################
48
  # Slide Layout Helper Functions
@@ -293,7 +274,22 @@ def create_advanced_ppt_from_content(
293
  include_charts: bool = False,
294
  include_ai_image: bool = False,
295
  include_diagrams: bool = False,
296
- include_flux_images: bool = False
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
297
  ) -> str:
298
  """Create advanced PPT file with enhanced visual content
299
  ํ‘œ์ง€ 3D 1์žฅ + ์ผ๋ฐ˜ ๋‹ค์ด์–ด๊ทธ๋žจ 2์žฅ + FLUX ์Šคํƒ€์ผ 4์žฅ ์ด์ƒ + 3D ์ด๋ฏธ์ง€ 2์žฅ ์ด์ƒ"""
 
24
 
25
  from PIL import Image
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  ##############################################################################
29
  # Slide Layout Helper Functions
 
274
  include_charts: bool = False,
275
  include_ai_image: bool = False,
276
  include_diagrams: bool = False,
277
+ include_flux_images: bool = False,
278
+ # ํ•„์š”ํ•œ ์™ธ๋ถ€ ํ•จ์ˆ˜์™€ ๋ฐ์ดํ„ฐ๋ฅผ ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ ๋ฐ›์Œ
279
+ DESIGN_THEMES: Dict = None,
280
+ detect_diagram_type_with_score = None,
281
+ generate_diagram_json = None,
282
+ generate_diagram_locally = None,
283
+ DIAGRAM_GENERATORS_AVAILABLE: bool = False,
284
+ generate_cover_image_prompt = None,
285
+ generate_conclusion_image_prompt = None,
286
+ generate_diverse_prompt = None,
287
+ generate_flux_prompt = None,
288
+ pick_flux_style = None,
289
+ generate_ai_image_via_3d_api = None,
290
+ AI_IMAGE_ENABLED: bool = False,
291
+ has_emoji = None,
292
+ get_emoji_for_content = None
293
  ) -> str:
294
  """Create advanced PPT file with enhanced visual content
295
  ํ‘œ์ง€ 3D 1์žฅ + ์ผ๋ฐ˜ ๋‹ค์ด์–ด๊ทธ๋žจ 2์žฅ + FLUX ์Šคํƒ€์ผ 4์žฅ ์ด์ƒ + 3D ์ด๋ฏธ์ง€ 2์žฅ ์ด์ƒ"""