Skip to content

Commit 9d85b96

Browse files
rm selector
rm selector rm selector
1 parent 5689c04 commit 9d85b96

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

notebooks/flux.1-kontext/flux.1-kontext.ipynb

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "code",
54-
"execution_count": 1,
54+
"execution_count": null,
5555
"id": "b05ef521",
5656
"metadata": {},
5757
"outputs": [
@@ -74,7 +74,7 @@
7474
"%pip install -q \"sentencepiece\" \"protobuf\"\n",
7575
"%pip install -q \"git+https://github.com/openvino-dev-samples/diffusers.git\"\n",
7676
"%pip install -q \"git+https://github.com/openvino-dev-samples/optimum-intel.git@kontext\"\n",
77-
"%pip install -qU \"openvino>=2025.0\" \"openvino_genai>=2025.0\" \"openvino_tokenizers>=2025.0\"\n",
77+
"%pip install -qU \"openvino>=2025.2\" \"openvino_genai>=2025.2\" \"openvino_tokenizers>=2025.2\"\n",
7878
"\n",
7979
"if platform.system() == \"Darwin\":\n",
8080
" %pip install -q \"numpy<2.0.0\""
@@ -119,7 +119,7 @@
119119
},
120120
{
121121
"cell_type": "code",
122-
"execution_count": 2,
122+
"execution_count": null,
123123
"id": "43ffcb63",
124124
"metadata": {},
125125
"outputs": [
@@ -142,16 +142,7 @@
142142
"source": [
143143
"import ipywidgets as widgets\n",
144144
"\n",
145-
"model_ids = [\"black-forest-labs/FLUX.1-Kontext-dev\"]\n",
146-
"\n",
147-
"model_selector = widgets.Dropdown(\n",
148-
" options=model_ids,\n",
149-
" default=model_ids[0],\n",
150-
" description=\"Model:\",\n",
151-
")\n",
152-
"\n",
153-
"\n",
154-
"model_selector"
145+
"model_id = \"black-forest-labs/FLUX.1-Kontext-dev\""
155146
]
156147
},
157148
{
@@ -269,20 +260,16 @@
269260
},
270261
{
271262
"cell_type": "code",
272-
"execution_count": 5,
263+
"execution_count": null,
273264
"id": "8e46869c",
274265
"metadata": {
275266
"test_replace": {
276-
"64": "-1",
277-
"model_selector.value": "\"katuni4ka/tiny-random-flux\""
278267
}
279268
},
280269
"outputs": [],
281270
"source": [
282271
"from pathlib import Path\n",
283272
"\n",
284-
"model_id = model_selector.value\n",
285-
"\n",
286273
"model_base_dir = Path(model_id.split(\"/\")[-1])\n",
287274
"additional_args = {}\n",
288275
"\n",

0 commit comments

Comments
 (0)