Axe-08 commited on
Commit
3a89a2a
·
verified ·
1 Parent(s): 4e82bb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ OWNER_PHONE_NUMBER = os.getenv("OWNER_PHONE_NUMBER")
13
 
14
  # --- AI Model Setup ---
15
  print("Loading AI Image Detection model...")
16
- image_detector: Pipeline = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32")
17
  print("✅ Model loaded successfully.")
18
 
19
  # --- Tool 1: The Main Analysis Function ---
 
13
 
14
  # --- AI Model Setup ---
15
  print("Loading AI Image Detection model...")
16
+ image_detector: Pipeline = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32", local_files_only=True)
17
  print("✅ Model loaded successfully.")
18
 
19
  # --- Tool 1: The Main Analysis Function ---