JaceWei commited on
Commit
be3aa8a
·
1 Parent(s): fa69a73

update: push latest content

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -81,14 +81,14 @@ def run_pipeline(arxiv_url, pdf_file, openai_key, logo_files):
81
  "--result_dir", "output",
82
  "--paper_latex_root", "input/latex_proj",
83
  "--openai_key", openai_key,
84
- "--gemini_key", "AIzaSyA1wVVdlYAVs3FULSmCVD1Noulwrq7zqeo",
85
  "--logo_dir", str(LOGO_DIR) # 👈 新增:把 logo 目录传入
86
  ]
87
 
88
  if arxiv_url:
89
  cmd += ["--arxiv_url", arxiv_url]
90
- if pdf_path:
91
- cmd += ["--pdf_path", str(pdf_path)]
92
 
93
  try:
94
  result = subprocess.run(
 
81
  "--result_dir", "output",
82
  "--paper_latex_root", "input/latex_proj",
83
  "--openai_key", openai_key,
84
+ "--gemini_key", "##",
85
  "--logo_dir", str(LOGO_DIR) # 👈 新增:把 logo 目录传入
86
  ]
87
 
88
  if arxiv_url:
89
  cmd += ["--arxiv_url", arxiv_url]
90
+ # if pdf_path:
91
+ # cmd += ["--pdf_path", str(pdf_path)]
92
 
93
  try:
94
  result = subprocess.run(