Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
4a83552
1
Parent(s):
7a8d600
bracket
Browse files
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 |
|