Spaces:
Runtime error
Runtime error
correction bug
Browse files- app/model.py +1 -1
app/model.py
CHANGED
|
@@ -433,7 +433,7 @@ def predict_with_cache(config, image_bytes: bytes):
|
|
| 433 |
"entropy":entropy
|
| 434 |
}
|
| 435 |
cache[pred_key] = result
|
| 436 |
-
return
|
| 437 |
|
| 438 |
def predict_with_model(config, image_bytes: bytes):
|
| 439 |
return predict_with_cache(config, image_bytes)
|
|
|
|
| 433 |
"entropy":entropy
|
| 434 |
}
|
| 435 |
cache[pred_key] = result
|
| 436 |
+
return result
|
| 437 |
|
| 438 |
def predict_with_model(config, image_bytes: bytes):
|
| 439 |
return predict_with_cache(config, image_bytes)
|