From 23ef2ffb22fd3a070b986eac175f70aee65262c8 Mon Sep 17 00:00:00 2001 From: binary-husky Date: Sun, 27 Oct 2024 16:54:29 +0000 Subject: [PATCH] feat: change arxiv io param --- crazy_functions/latex_fns/latex_actions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crazy_functions/latex_fns/latex_actions.py b/crazy_functions/latex_fns/latex_actions.py index 496f5399b..b7dee4ec2 100644 --- a/crazy_functions/latex_fns/latex_actions.py +++ b/crazy_functions/latex_fns/latex_actions.py @@ -497,6 +497,10 @@ def upload_to_gptac_cloud_if_user_allow(chatbot, arxiv_id): data = { 'arxiv_id': arxiv_id, 'file_hash': map_file_to_sha256(file_path), + 'language': 'zh', + 'trans_prompt': 'to_be_implemented', + 'llm_model': 'to_be_implemented', + 'llm_model_param': 'to_be_implemented', } resp = requests.post(url=url, files=files, data=data, timeout=30) logger.info(f'Uploading terminate ({resp.status_code})`: {file_path}')