Skip to content

Commit 8fc8026

Browse files
authored
transform PRIVATE_GIST into a string
1 parent 876c71d commit 8fc8026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llm_autoeval/upload.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def upload_to_github_gist(text, gist_name, gh_token):
66
# Create the gist content
77
gist_content = {
8-
"public": os.getenv("PRIVATE_GIST", False),
8+
"public": str(os.getenv("PRIVATE_GIST", False)).lower(),
99
"files": {
1010
f"{gist_name}": { # Change the file extension to .txt for plain text
1111
"content": text

0 commit comments

Comments
 (0)