Ali2206 commited on
Commit
0a3f912
·
verified ·
1 Parent(s): 4cf6d2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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"""