From e09b5449818fe3c91dabae443389c1c432ed1881 Mon Sep 17 00:00:00 2001 From: ethan Date: Sun, 3 Nov 2024 19:24:29 -0800 Subject: [PATCH] reformat reformat --- notebooks/multimodal-rag/multimodal-rag-llamaindex.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/notebooks/multimodal-rag/multimodal-rag-llamaindex.ipynb b/notebooks/multimodal-rag/multimodal-rag-llamaindex.ipynb index c04967d1c31..09c04939a33 100644 --- a/notebooks/multimodal-rag/multimodal-rag-llamaindex.ipynb +++ b/notebooks/multimodal-rag/multimodal-rag-llamaindex.ipynb @@ -81,7 +81,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "2c61cb01-9c46-46e3-bf22-20c4ca0da417", "metadata": {}, "outputs": [], @@ -94,15 +94,15 @@ "\n", "if not Path(\"ov_phi3_vision_helper.py\").exists():\n", " r = requests.get(url=\"https://raw.githubusercontent.com/openvinotoolkit/openvino_notebooks/latest/notebooks/phi-3-vision/ov_phi3_vision_helper.py\")\n", - " open(\"ov_phi3_vision_helper.py\", \"w\").write(r.text)\n", + " open(\"ov_phi3_vision_helper.py\", \"w\", encoding=\"utf-8\").write(r.text)\n", "\n", "if not Path(\"ov_phi3_llamaindex.py\").exists():\n", " r = requests.get(url=\"https://raw.githubusercontent.com/openvinotoolkit/openvino_notebooks/latest/notebooks/multimodal-rag/ov_phi3_llamaindex.py\")\n", - " open(\"ov_phi3_llamaindex.py\", \"w\").write(r.text)\n", + " open(\"ov_phi3_llamaindex.py\", \"w\", encoding=\"utf-8\").write(r.text)\n", " \n", "if not Path(\"notebook_utils.py\").exists():\n", " r = requests.get(url=\"https://raw.githubusercontent.com/openvinotoolkit/openvino_notebooks/latest/utils/notebook_utils.py\")\n", - " open(\"notebook_utils.py\", \"w\").write(r.text)" + " open(\"notebook_utils.py\", \"w\", encoding=\"utf-8\").write(r.text)" ] }, {