Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 ---
|