Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ from tensorflow.keras.applications.efficientnet import preprocess_input
|
|
| 28 |
|
| 29 |
def predict(img):
|
| 30 |
"""Predict function for Gradio"""
|
| 31 |
-
time.sleep(
|
| 32 |
img = img.convert("RGB").resize(IMG_SIZE)
|
| 33 |
x = np.array(img)
|
| 34 |
x = preprocess_input(x)
|
|
|
|
| 28 |
|
| 29 |
def predict(img):
|
| 30 |
"""Predict function for Gradio"""
|
| 31 |
+
time.sleep(2)
|
| 32 |
img = img.convert("RGB").resize(IMG_SIZE)
|
| 33 |
x = np.array(img)
|
| 34 |
x = preprocess_input(x)
|