Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ def inference(image, size):
|
|
21 |
result = model8.predict(image.convert('RGB'))
|
22 |
if torch.cuda.is_available():
|
23 |
torch.cuda.empty_cache()
|
|
|
24 |
return result
|
25 |
|
26 |
|
|
|
21 |
result = model8.predict(image.convert('RGB'))
|
22 |
if torch.cuda.is_available():
|
23 |
torch.cuda.empty_cache()
|
24 |
+
print(f"Image size: {size} ... OK")
|
25 |
return result
|
26 |
|
27 |
|