Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from fastai.vision.all import *
|
|
4 |
import matplotlib.pyplot as plt
|
5 |
|
6 |
# Load the trained model
|
7 |
-
learn = load_learner('emotion_model.
|
8 |
|
9 |
# Define function to preprocess image
|
10 |
def preprocess_image(image):
|
|
|
4 |
import matplotlib.pyplot as plt
|
5 |
|
6 |
# Load the trained model
|
7 |
+
learn = load_learner('emotion_model.pkl')
|
8 |
|
9 |
# Define function to preprocess image
|
10 |
def preprocess_image(image):
|