Skip to content

Commit 6234418

Browse files
yangustc07copybara-github
authored andcommitted
Internal change
ValueError: PiperOrigin-RevId: 631183129
1 parent d8ff819 commit 6234418

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

site/en/tutorials/generative/style_transfer.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,10 +1110,9 @@
11101110
"\n",
11111111
"try:\n",
11121112
" from google.colab import files\n",
1113-
"except ImportError:\n",
1114-
" pass\n",
1115-
"else:\n",
1116-
" files.download(file_name)"
1113+
" files.download(file_name)\n",
1114+
"except (ImportError, AttributeError):\n",
1115+
" pass"
11171116
]
11181117
},
11191118
{

0 commit comments

Comments
 (0)