paper_qa / constants /utils.py
chansung's picture
Create utils.py
f265a2c verified
raw
history blame contribute delete
350 Bytes
import os
def get_secrets():
gemini_api_key = os.getenv("GEMINI_API_KEY")
hf_token = os.getenv("HF_TOKEN")
dataset_repo_id = os.getenv("SOURCE_DATA_REPO_ID")
request_arxiv_repo_id = os.getenv("REQUEST_DATA_REPO_ID")
return (
gemini_api_key,
hf_token,
dataset_repo_id,
request_arxiv_repo_id
)