Spaces:
Build error
Build error
Set default device to cpu
Browse files
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=
|
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
|