From 04a6c5841f9438d8e745a53a79db0bb4c5992ec1 Mon Sep 17 00:00:00 2001 From: Frank Xu Date: Mon, 29 Jul 2024 13:49:50 -0400 Subject: [PATCH] remove invalid key --- .../Eric/profile_browser_history_Eric.ipynb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/AI4Forensics/CKIM2024/BrowserHistory/Eric/profile_browser_history_Eric.ipynb b/AI4Forensics/CKIM2024/BrowserHistory/Eric/profile_browser_history_Eric.ipynb index 4e2b775..58b81d9 100644 --- a/AI4Forensics/CKIM2024/BrowserHistory/Eric/profile_browser_history_Eric.ipynb +++ b/AI4Forensics/CKIM2024/BrowserHistory/Eric/profile_browser_history_Eric.ipynb @@ -246,7 +246,7 @@ "source": [ "#### Step 2: Config LangChain with gemini\n", "- You `MUST` have a Gemini key\n", - "- You can load an an api key from `api_key.txt` file\n", + "- You can load an api key from `my_config.env` file\n", "- or, hard code your open api later when you create a model" ] }, @@ -311,7 +311,7 @@ " model=\"gemini-pro\",\n", " generation_config=generation_config,\n", " safety_settings=safety_settings,\n", - " # You can hardcode the key AIzaSyCDqn8xVJ4cFeiXSvhPUcnR60jfBLj5dO4k\n", + " # You can hardcode the key \n", " google_api_key=GOOGLE_AI_STUDIO,\n", ")" ] @@ -414,6 +414,17 @@ "execution_count": 6, "metadata": {}, "output_type": "execute_result" + }, + { + "ename": "", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[1;31mThe Kernel crashed while executing code in the current cell or a previous cell. \n", + "\u001b[1;31mPlease review the code in the cell(s) to identify a possible cause of the failure. \n", + "\u001b[1;31mClick here for more info. \n", + "\u001b[1;31mView Jupyter log for further details." + ] } ], "source": [