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

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
- time.sleep(5) # ⏳ 5-second intentional delay
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
+
31
  img = img.convert("RGB").resize(IMG_SIZE)
32
  x = np.array(img)
33
  x = preprocess_input(x)