Skip to content

Commit ee66f22

Browse files
committed
update inference code
Signed-off-by: Can-Zhao <[email protected]>
1 parent 2d5278d commit ee66f22

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

generation/maisi/maisi_inference_tutorial.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,7 @@
205205
" os.makedirs(directory, exist_ok=True)\n",
206206
"root_dir = tempfile.mkdtemp() if directory is None else directory\n",
207207
"\n",
208-
"download_model_data(maisi_version, root_dir)\n",
209-
"\n",
210-
"for file in files:\n",
211-
" file[\"path\"] = file[\"path\"] if \"datasets/\" not in file[\"path\"] else os.path.join(root_dir, file[\"path\"])\n",
212-
" download_url(url=file[\"url\"], filepath=file[\"path\"])"
208+
"download_model_data(maisi_version, root_dir)"
213209
]
214210
},
215211
{

0 commit comments

Comments
 (0)