Aduc-sdr commited on
Commit
bd57a18
·
verified ·
1 Parent(s): da7029e

Update aduc_orchestrator.py

Browse files
Files changed (1) hide show
  1. aduc_orchestrator.py +13 -6
aduc_orchestrator.py CHANGED
@@ -9,12 +9,6 @@
9
  # creative workflow of film production. This version is updated to reflect the final
10
  # refactored project structure with `engineers` and `managers`.
11
 
12
- import os
13
- import logging
14
- from typing import List, Dict, Any, Generator, Tuple
15
-
16
- import gradio as gr
17
- from PIL import Image, ImageOps
18
 
19
  import sys
20
  import os
@@ -35,8 +29,21 @@ try:
35
  print("Module deformes4D imported successfully!")
36
  except ModuleNotFoundError as e:
37
  print(f"Error importing deformes4D: {e}")
 
 
 
 
 
 
 
 
38
 
39
 
 
 
 
 
 
40
 
41
  # The logger is configured in app.py; here we just get the instance.
42
  logger = logging.getLogger(__name__)
 
9
  # creative workflow of film production. This version is updated to reflect the final
10
  # refactored project structure with `engineers` and `managers`.
11
 
 
 
 
 
 
 
12
 
13
  import sys
14
  import os
 
29
  print("Module deformes4D imported successfully!")
30
  except ModuleNotFoundError as e:
31
  print(f"Error importing deformes4D: {e}")
32
+ sys.exit(1)
33
+
34
+ try:
35
+ from engineers.deformes3D import deformes3d_engine_singleton
36
+ print("Module deformes3D imported successfully!")
37
+ except ModuleNotFoundError as e:
38
+ print(f"Error importing deformes3D: {e}")
39
+ sys.exit(1)
40
 
41
 
42
+ import logging
43
+ from typing import List, Dict, Any, Generator, Tuple
44
+
45
+ import gradio as gr
46
+ from PIL import Image, ImageOps
47
 
48
  # The logger is configured in app.py; here we just get the instance.
49
  logger = logging.getLogger(__name__)