asaderu commited on
Commit
47d8c58
1 Parent(s): 581e049

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -6,9 +6,7 @@ import matplotlib.pyplot as plt
6
  import cv2
7
  import numpy as np
8
  from tensorflow.keras.preprocessing.image import img_to_array
9
- from transformers import TFAutoModel
10
-
11
- model = TFAutoModel.from_pretrained("asaderu/bananafreshness")
12
 
13
  def prosesgambar(gambar):
14
  # load the image
 
6
  import cv2
7
  import numpy as np
8
  from tensorflow.keras.preprocessing.image import img_to_array
9
+ model = load_model("pisang.h5")
 
 
10
 
11
  def prosesgambar(gambar):
12
  # load the image