Unearthed commited on
Commit
1acc401
·
verified ·
1 Parent(s): acc0b30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(5)
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)