Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,6 @@ def preprocess(image):
|
|
| 20 |
def predict_image(img):
|
| 21 |
img = preprocess(img)
|
| 22 |
prediction = model.predict(img)[0][0]
|
| 23 |
-
prediction = 0.9
|
| 24 |
|
| 25 |
return {'정상': float(1-prediction), '감염': float(prediction)}
|
| 26 |
|
|
|
|
| 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 |
|