Closed limaolin2017 closed 6 months ago
Hi. You need to create a github personal token and save it to your environment. The instructions are located here:
https://github.com/jimmc414/1filellm?tab=readme-ov-file#obtaining-a-github-personal-access-token
Good luck!
when I run this command : python test_onefilellm.py
[nltk_data] Downloading package stopwords to [nltk_data] /Users/player/nltk_data... [nltk_data] Package stopwords is already up-to-date! Traceback (most recent call last): File "/Users/player/Downloads/1filellm-main/test_onefilellm.py", line 5, in
from onefilellm import process_github_repo, process_arxiv_pdf, process_local_folder, fetch_youtube_transcript, crawl_and_extract_text
File "/Users/player/Downloads/1filellm-main/onefilellm.py", line 30, in
raise EnvironmentError("GITHUB_TOKEN environment variable not set.")
OSError: GITHUB_TOKEN environment variable not set.