Skip to content

Commit

Permalink
feat: change arxiv io param
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Oct 27, 2024
1 parent 848d0f6 commit 23ef2ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crazy_functions/latex_fns/latex_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
Expand Down

0 comments on commit 23ef2ff

Please sign in to comment.