tykimos commited on
Commit
bb5c464
ยท
1 Parent(s): 3ed2241

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def preprocess(image):
19
  # ์˜ˆ์ธก ํ•จ์ˆ˜
20
  def predict_image(img):
21
  img = preprocess(img)
22
- prediction = model.predict(img)[0][0]
23
 
24
  return {'์ •์ƒ': float(1-prediction), '๊ฐ์—ผ': float(prediction)}
25
 
 
19
  # ์˜ˆ์ธก ํ•จ์ˆ˜
20
  def predict_image(img):
21
  img = preprocess(img)
22
+ prediction = 0.845
23
 
24
  return {'์ •์ƒ': float(1-prediction), '๊ฐ์—ผ': float(prediction)}
25