raannakasturi commited on
Commit
8184b96
·
1 Parent(s): c7d566e

Retrieve access key from environment variables and update citation format in main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -4
main.py CHANGED
@@ -39,9 +39,9 @@ if __name__ == "__main__":
39
  url = "https://arxiv.org/pdf/2412.21024"
40
  id = "123"
41
  title = "Trading linearity for ellipticity: a nonsmooth approach to Einstein’s theory of gravity and the Lorentzian splitting theorems"
42
- access_key = "1234"
43
- data = main(url, title, id, access_key)
44
- print(len(data))
45
- print(data["title"])
46
  with open("output.json", "w", encoding="utf-8") as f:
47
  json.dump(data, f, ensure_ascii=False, indent=4)
 
39
  url = "https://arxiv.org/pdf/2412.21024"
40
  id = "123"
41
  title = "Trading linearity for ellipticity: a nonsmooth approach to Einstein’s theory of gravity and the Lorentzian splitting theorems"
42
+ access_key = os.environ.get("ACCESS_KEY")
43
+ citation = "Bykov, D., Krivorol, V., & Kuzovchikov, A. (2024). Oscillator Calculus on Coadjoint Orbits and Index Theorems (Version 1). arXiv. https://doi.org/10.48550/ARXIV.2412.21024"
44
+ data = main(url, title, id, citation, access_key)
45
+ print((data))
46
  with open("output.json", "w", encoding="utf-8") as f:
47
  json.dump(data, f, ensure_ascii=False, indent=4)