Skip to content

Commit e8008ec

Browse files
authored
Update PerroMapacheGatoCocheDeploy.ipynb
1 parent 4df9c4b commit e8008ec

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

PerroMapacheGatoCocheDeploy.ipynb

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,37 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6-
"id": "mobile-mailing",
6+
"id": "mental-dining",
77
"metadata": {},
88
"outputs": [],
99
"source": [
1010
"#hide\n",
11-
"!pip install -Uqq fastbook\n",
12-
"!pip install voila\n",
13-
"!jupyter serverextension enable --sys-prefix voila\n",
14-
"import fastbook\n",
15-
"fastbook.setup_book()\n",
16-
"from fastbook import *\n",
11+
"#!pip install -Uqq fastbook\n",
12+
"#!pip install voila\n",
13+
"#!jupyter serverextension enable --sys-prefix voila\n",
14+
"#import fastbook\n",
15+
"#fastbook.setup_book()\n",
16+
"#from fastbook import *\n",
17+
"#from fastai.vision.widgets import *\n",
18+
"from fastai.vision.all import *\n",
1719
"from fastai.vision.widgets import *"
1820
]
1921
},
2022
{
2123
"cell_type": "code",
22-
"execution_count": 4,
23-
"id": "specific-connectivity",
24+
"execution_count": null,
25+
"id": "graphic-diana",
2426
"metadata": {},
2527
"outputs": [],
2628
"source": [
27-
"learn_inf = load_learner('export.pkl')"
29+
"path = Path()\n",
30+
"learn_inf = load_learner('export.pkl', cpu=True)"
2831
]
2932
},
3033
{
3134
"cell_type": "code",
3235
"execution_count": null,
33-
"id": "initial-theater",
36+
"id": "closed-drill",
3437
"metadata": {},
3538
"outputs": [],
3639
"source": [
@@ -45,7 +48,7 @@
4548
{
4649
"cell_type": "code",
4750
"execution_count": null,
48-
"id": "invisible-grade",
51+
"id": "incorporate-wonder",
4952
"metadata": {},
5053
"outputs": [],
5154
"source": [
@@ -66,7 +69,7 @@
6669
{
6770
"cell_type": "code",
6871
"execution_count": null,
69-
"id": "composite-sauce",
72+
"id": "phantom-investment",
7073
"metadata": {},
7174
"outputs": [],
7275
"source": [
@@ -79,6 +82,14 @@
7982
"VBox([widgets.Label('Selecciona tu cosa'), \n",
8083
" btn_upload, btn_run, out_pl, lbl_prediction_a,lbl_prediction_b])"
8184
]
85+
},
86+
{
87+
"cell_type": "code",
88+
"execution_count": null,
89+
"id": "statewide-milton",
90+
"metadata": {},
91+
"outputs": [],
92+
"source": []
8293
}
8394
],
8495
"metadata": {

0 commit comments

Comments
 (0)