Jiang Xiaolan commited on
Commit
851026b
·
1 Parent(s): 41b1a58
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,8 +18,8 @@ def clone_repo():
18
  return False
19
 
20
  # 使用 GitHub Token 进行身份验证并克隆仓库
21
- clone_command = f'git clone https://{github_token}@github.com/mamba-ai/invoice_agent.git'
22
- repo_dir = 'invoice_agent'
23
  if os.path.exists(repo_dir):
24
  logger.warning("Repository already exists.")
25
  # 将仓库路径添加到 Python 模块搜索路径中
@@ -32,7 +32,7 @@ def clone_repo():
32
 
33
  if result.returncode == 0:
34
  logger.warning("Repository cloned successfully.")
35
- repo_dir = 'invoice_agent'
36
 
37
  # 将仓库路径添加到 Python 模块搜索路径中
38
  sys.path.append(os.path.abspath(repo_dir))
 
18
  return False
19
 
20
  # 使用 GitHub Token 进行身份验证并克隆仓库
21
+ clone_command = f'git clone https://{github_token}@github.com/mamba-ai/transcribe_agent.git'
22
+ repo_dir = 'transcribe_agent'
23
  if os.path.exists(repo_dir):
24
  logger.warning("Repository already exists.")
25
  # 将仓库路径添加到 Python 模块搜索路径中
 
32
 
33
  if result.returncode == 0:
34
  logger.warning("Repository cloned successfully.")
35
+ repo_dir = 'transcribe_agent'
36
 
37
  # 将仓库路径添加到 Python 模块搜索路径中
38
  sys.path.append(os.path.abspath(repo_dir))