Skip to content

Commit

Permalink
produce comparison pdf cache
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-sky committed Nov 30, 2023
1 parent 55d807c commit 900fad6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crazy_functions/Latex输出PDF结果.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def check_cached_translation_pdf(arxiv_id):
target_file = pj(translation_dir, 'translate_zh.pdf')
if os.path.exists(target_file):
promote_file_to_downloadzone(target_file, rename_file=None, chatbot=chatbot)
target_file_compare = pj(translation_dir, 'comparison.pdf')
if os.path.exists(target_file_compare):
promote_file_to_downloadzone(target_file_compare, rename_file=None, chatbot=chatbot)
return target_file
return False
def is_float(s):
Expand Down

0 comments on commit 900fad6

Please sign in to comment.