Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,11 @@ os.environ.update({
|
|
43 |
"TOKENIZERS_PARALLELISM": "false",
|
44 |
"CUDA_LAUNCH_BLOCKING": "1"
|
45 |
})
|
|
|
|
|
|
|
46 |
|
|
|
47 |
# ==================== CORE COMPONENTS ====================
|
48 |
class FileProcessor:
|
49 |
"""Handles all file processing operations"""
|
|
|
43 |
"TOKENIZERS_PARALLELISM": "false",
|
44 |
"CUDA_LAUNCH_BLOCKING": "1"
|
45 |
})
|
46 |
+
current_dir = os.path.dirname(os.path.abspath(__file__))
|
47 |
+
src_path = os.path.abspath(os.path.join(current_dir, "src"))
|
48 |
+
sys.path.insert(0, src_path)
|
49 |
|
50 |
+
from txagent.txagent import TxAgent
|
51 |
# ==================== CORE COMPONENTS ====================
|
52 |
class FileProcessor:
|
53 |
"""Handles all file processing operations"""
|