We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 876c71d commit 8fc8026Copy full SHA for 8fc8026
llm_autoeval/upload.py
@@ -5,7 +5,7 @@
5
def upload_to_github_gist(text, gist_name, gh_token):
6
# Create the gist content
7
gist_content = {
8
- "public": os.getenv("PRIVATE_GIST", False),
+ "public": str(os.getenv("PRIVATE_GIST", False)).lower(),
9
"files": {
10
f"{gist_name}": { # Change the file extension to .txt for plain text
11
"content": text
0 commit comments