File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 4949 "metadata": {},
5050 "outputs": [
5151 {
52- "name": "stdin ",
52+ "name": "stdout ",
5353 "output_type": "stream",
5454 "text": [
5555 "Enter OpenAI API key: ········\n"
9393 },
9494 "outputs": [],
9595 "source": [
96- "%%bash \n",
96+ "from urllib.request import urlretrieve \n",
9797 "\n",
98- "wget \"https://upload.wikimedia.org/wikipedia/commons/2/26/Pink_Lady_Apple_%284107712628%29.jpg\" -O apple.jpg\n",
99- "wget \"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Cattle_tyrant_%28Machetornis_rixosa%29_on_Capybara.jpg/960px-Cattle_tyrant_%28Machetornis_rixosa%29_on_Capybara.jpg?download\" -O capybara.jpg"
98+ "urlretrieve( \"https://upload.wikimedia.org/wikipedia/commons/2/26/Pink_Lady_Apple_%284107712628%29.jpg\", \" apple.jpg\") \n",
99+ "urlretrieve( \"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Cattle_tyrant_%28Machetornis_rixosa%29_on_Capybara.jpg/960px-Cattle_tyrant_%28Machetornis_rixosa%29_on_Capybara.jpg?download\", \" capybara.jpg\") "
100100 ]
101101 },
102102 {
255255 "metadata": {},
256256 "outputs": [],
257257 "source": [
258- "%%bash \n",
258+ "from urllib.request import urlretrieve \n",
259259 "\n",
260- "wget https://arxiv.org/pdf/1706.03762.pdf -O attention_is_all_you_need.pdf"
260+ "urlretrieve(\" https://arxiv.org/pdf/1706.03762.pdf\", \" attention_is_all_you_need.pdf\") "
261261 ]
262262 },
263263 {
You can’t perform that action at this time.
0 commit comments