Skip to content

Commit 23ef2ff

Browse files
committed
feat: change arxiv io param
1 parent 848d0f6 commit 23ef2ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crazy_functions/latex_fns/latex_actions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,10 @@ def upload_to_gptac_cloud_if_user_allow(chatbot, arxiv_id):
497497
data = {
498498
'arxiv_id': arxiv_id,
499499
'file_hash': map_file_to_sha256(file_path),
500+
'language': 'zh',
501+
'trans_prompt': 'to_be_implemented',
502+
'llm_model': 'to_be_implemented',
503+
'llm_model_param': 'to_be_implemented',
500504
}
501505
resp = requests.post(url=url, files=files, data=data, timeout=30)
502506
logger.info(f'Uploading terminate ({resp.status_code})`: {file_path}')

0 commit comments

Comments
 (0)