Update aduc_orchestrator.py
Browse files- aduc_orchestrator.py +11 -3
aduc_orchestrator.py
CHANGED
|
@@ -16,9 +16,17 @@ from typing import List, Dict, Any, Generator, Tuple
|
|
| 16 |
import gradio as gr
|
| 17 |
from PIL import Image, ImageOps
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
# The logger is configured in app.py; here we just get the instance.
|
| 24 |
logger = logging.getLogger(__name__)
|
|
|
|
| 16 |
import gradio as gr
|
| 17 |
from PIL import Image, ImageOps
|
| 18 |
|
| 19 |
+
import sys
|
| 20 |
+
import os
|
| 21 |
+
|
| 22 |
+
# Adicione o caminho para a pasta 'engineers' ao sys.path
|
| 23 |
+
sys.path.append(os.path.abspath("./engineers")) # Assumindo que a pasta 'engineers' est谩 no mesmo diret贸rio do script
|
| 24 |
+
|
| 25 |
+
# Agora voc锚 pode importar os m贸dulos
|
| 26 |
+
from deformes4D import Deformes4DEngine
|
| 27 |
+
from deformes2D_thinker import deformes2d_thinker_singleton
|
| 28 |
+
from deformes3D import deformes3d_engine_singleton
|
| 29 |
+
|
| 30 |
|
| 31 |
# The logger is configured in app.py; here we just get the instance.
|
| 32 |
logger = logging.getLogger(__name__)
|