attilasimko commited on
Commit
4a83552
·
1 Parent(s): 7a8d600
Files changed (1) hide show
  1. evaluations/repo_evaluations.py +1 -1
evaluations/repo_evaluations.py CHANGED
@@ -42,7 +42,7 @@ def evaluate(llm, verbose, repo_url, title=None, year=None):
42
  zip = zipfile.ZipFile(repository_zip_name)
43
  readme = fetch_readme(zip)
44
 
45
- if ((readme != "") & llm):
46
  summary = llm.predict("HELP", f"{readme}\nBased on the readme file above can you give a quick summary of this repository?")
47
  log(verbose, "LOG", f"Summary: {summary}")
48
 
 
42
  zip = zipfile.ZipFile(repository_zip_name)
43
  readme = fetch_readme(zip)
44
 
45
+ if ((readme != "") & (llm)):
46
  summary = llm.predict("HELP", f"{readme}\nBased on the readme file above can you give a quick summary of this repository?")
47
  log(verbose, "LOG", f"Summary: {summary}")
48