Skip to content

Commit 737fb22

Browse files
committed
Updated validation script.
1 parent 0a6e241 commit 737fb22

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

scripts/validate.ipynb

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,27 @@
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
16-
"%pip install readme-ready bert_score nltk "
16+
"%pip install -U readme-ready bert_score nltk "
17+
]
18+
},
19+
{
20+
"cell_type": "markdown",
21+
"metadata": {},
22+
"source": [
23+
"## Set environment variables"
24+
]
25+
},
26+
{
27+
"cell_type": "code",
28+
"execution_count": null,
29+
"metadata": {},
30+
"outputs": [],
31+
"source": [
32+
"import os\n",
33+
"HF_TOKEN = \"hf_fake_token\" # Replace token\n",
34+
"OPENAI_API_KEY = \"fake_openai_api_key\" # Replace api key\n",
35+
"os.environ[\"OPENAI_API_KEY\"] = OPENAI_API_KEY\n",
36+
"os.environ[\"HF_TOKEN\"] = HF_TOKEN"
1737
]
1838
},
1939
{

0 commit comments

Comments
 (0)