Skip to content

Commit b521dc8

Browse files
Add files via upload
1 parent 24ffea4 commit b521dc8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

colab/LaMa_inpainting.ipynb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,11 @@
172172
"id": "23WaUHiJeyBO"
173173
},
174174
"source": [
175-
"# **Uncomment any line for the using predefined testing photo**\n",
176-
"# If untouched, you will be suggested to load an image"
175+
"<center>\n",
176+
"<h1 style=\"font-size:10vw\"><b>Predefined photo</b>: uncomment any line for the using \n",
177+
"<br>\n",
178+
"<b>Local file</b>: leave the <tt>fname = None</tt></h1>\n",
179+
"</center>"
177180
]
178181
},
179182
{
@@ -203,13 +206,14 @@
203206
"outputId": "c42a411e-e84a-415c-ea2c-182abf34324c"
204207
},
205208
"source": [
209+
"#@title Draw a Mask, Press Finish, Wait for Inpainting\n",
210+
"\n",
206211
"if fname is None:\n",
207212
" from google.colab import files\n",
208213
" files = files.upload()\n",
209214
" fname = list(files.keys())[0]\n",
210215
"else:\n",
211216
" fname = wget.download(fname)\n",
212-
"#@title Draw a mask and press Finish \n",
213217
"\n",
214218
"shutil.rmtree('./data_for_prediction', ignore_errors=True)\n",
215219
"! mkdir data_for_prediction\n",

0 commit comments

Comments
 (0)