Spaces:
Sleeping
Sleeping
change model name
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ print(f"Fastai version: {fastai.__version__}")
|
|
| 11 |
|
| 12 |
try:
|
| 13 |
# Load the model with CPU as default device
|
| 14 |
-
learn = load_learner('
|
| 15 |
print("Model loaded successfully!")
|
| 16 |
except TypeError as e:
|
| 17 |
print("Error: Model version incompatibility detected.")
|
|
|
|
| 11 |
|
| 12 |
try:
|
| 13 |
# Load the model with CPU as default device
|
| 14 |
+
learn = load_learner('model_champi.pkl', cpu=True)
|
| 15 |
print("Model loaded successfully!")
|
| 16 |
except TypeError as e:
|
| 17 |
print("Error: Model version incompatibility detected.")
|