Skip to content

Commit ef78cbc

Browse files
Merge pull request #1592 from HinTak:patch-1
PiperOrigin-RevId: 379574388
2 parents 3e08f1e + 61764f9 commit ef78cbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/tutorials/generative/style_transfer.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@
830830
" for m in range(steps_per_epoch):\n",
831831
" step += 1\n",
832832
" train_step(image)\n",
833-
" print(\".\", end='')\n",
833+
" print(\".\", end='', flush=True)\n",
834834
" display.clear_output(wait=True)\n",
835835
" display.display(tensor_to_image(image))\n",
836836
" print(\"Train step: {}\".format(step))\n",
@@ -1071,7 +1071,7 @@
10711071
" for m in range(steps_per_epoch):\n",
10721072
" step += 1\n",
10731073
" train_step(image)\n",
1074-
" print(\".\", end='')\n",
1074+
" print(\".\", end='', flush=True)\n",
10751075
" display.clear_output(wait=True)\n",
10761076
" display.display(tensor_to_image(image))\n",
10771077
" print(\"Train step: {}\".format(step))\n",

0 commit comments

Comments
 (0)