Skip to content

Commit dd43d94

Browse files
committed
fix issues in notebooks
1 parent 4e57017 commit dd43d94

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

notebooks/depth-anything/depth-anything.ipynb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,7 @@
7575
" r = requests.get(\n",
7676
" url=\"https://raw.githubusercontent.com/openvinotoolkit/openvino_notebooks/latest/utils/notebook_utils.py\",\n",
7777
" )\n",
78-
" open(\"notebook_utils.py\", \"w\").write(r.text)\n",
79-
"\n",
80-
"# Read more about telemetry collection at https://github.com/openvinotoolkit/openvino_notebooks?tab=readme-ov-file#-telemetry\n",
81-
"from notebook_utils import collect_telemetry\n",
82-
"\n",
83-
"collect_telemetry(\"depth-anything.ipynb\")"
78+
" open(\"notebook_utils.py\", \"w\").write(r.text)"
8479
]
8580
},
8681
{
@@ -144,6 +139,10 @@
144139
"outputs": [],
145140
"source": [
146141
"from pathlib import Path\n",
142+
"# Read more about telemetry collection at https://github.com/openvinotoolkit/openvino_notebooks?tab=readme-ov-file#-telemetry\n",
143+
"from notebook_utils import collect_telemetry\n",
144+
"\n",
145+
"collect_telemetry(\"depth-anything.ipynb\")\n",
147146
"\n",
148147
"\n",
149148
"attention_file_path = Path(\"./torchhub/facebookresearch_dinov2_main/dinov2/layers/attention.py\")\n",

notebooks/sana-image-generation/sana-image-generation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"\n",
5757
"%pip install -q \"gradio>=4.19\" \"torch>=2.1\" \"transformers\" \"nncf>=2.14.0\" \"diffusers>=0.32.0\" \"opencv-python\" \"pillow\" \"peft>=0.7.0\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
5858
"%pip install -q \"sentencepiece\" \"protobuf\"\n",
59-
"%pip install -q \"git+https://github.com/eaidova/optimum-intel.git\"\n",
59+
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
6060
"%pip install -qU \"openvino>=2024.6.0\"\n",
6161
"\n",
6262
"if platform.system() == \"Darwin\":\n",

0 commit comments

Comments
 (0)