fbrynpk commited on
Commit
650dcdc
·
1 Parent(s): d3c48d3

Set default device to cpu

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ EffNetB0_load_model, EffNetB0_transforms = create_effnet(
25
  in_features=1280,
26
  dropout=0.2,
27
  out_features=len(class_name),
28
- device=device,
29
  )
30
 
31
  # Write a transform for image
 
25
  in_features=1280,
26
  dropout=0.2,
27
  out_features=len(class_name),
28
+ device="cpu",
29
  )
30
 
31
  # Write a transform for image