Unearthed commited on
Commit
1947805
·
verified ·
1 Parent(s): df8a65e

Update app.py

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