Spaces:
Running
Running
Commit
•
c0ee461
1
Parent(s):
9e80c70
Update app.py
Browse files
app.py
CHANGED
@@ -36,9 +36,7 @@ def resizeImage(img):
|
|
36 |
resized = cv2.resize(img, dim, interpolation = cv2.INTER_AREA)
|
37 |
return resized
|
38 |
|
39 |
-
|
40 |
-
tokenizer = AutoTokenizer.from_pretrained("shujianong/pkm-card")
|
41 |
-
model = TFAutoModelForSequenceClassification.from_pretrained("shujianong/pkm-card")
|
42 |
|
43 |
"""# Define function"""
|
44 |
|
|
|
36 |
resized = cv2.resize(img, dim, interpolation = cv2.INTER_AREA)
|
37 |
return resized
|
38 |
|
39 |
+
model = load_model("df_train.h5")
|
|
|
|
|
40 |
|
41 |
"""# Define function"""
|
42 |
|