Divyanshh commited on
Commit
65037fc
1 Parent(s): bc60149

Update util.py

Browse files
Files changed (1) hide show
  1. util.py +7 -7
util.py CHANGED
@@ -30,13 +30,13 @@ embeddings = HuggingFaceEmbeddings(model_kwargs=model_kwargs)
30
  # llm = HuggingFacePipeline(pipeline=pipe)
31
 
32
 
33
- def clone_repo(repo):
34
- if os.path.exists("githubCode") and os.path.isdir("githubCode"):
35
- print("File already exists!!")
36
- pass
37
- else:
38
- print("Cloning repo!!")
39
- git.Repo.clone_from(repo,"githubCode")
40
 
41
  # git.Repo.clone_from("https://github.com/Divyansh3021/Github_code_assistant.git", "githubCode")
42
 
 
30
  # llm = HuggingFacePipeline(pipeline=pipe)
31
 
32
 
33
+ # def clone_repo(repo):
34
+ # if os.path.exists("githubCode") and os.path.isdir("githubCode"):
35
+ # print("File already exists!!")
36
+ # pass
37
+ # else:
38
+ # print("Cloning repo!!")
39
+ # git.Repo.clone_from(repo,"githubCode")
40
 
41
  # git.Repo.clone_from("https://github.com/Divyansh3021/Github_code_assistant.git", "githubCode")
42