Adonai Vera commited on
Commit ·
d7d1628
1
Parent(s): 5bdb480
model name
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
# Initialize the pipeline with your model
|
| 7 |
-
pipe = pipeline("image-classification", model="adonaivera/
|
| 8 |
|
| 9 |
def classify_image(image):
|
| 10 |
# Convert the input image to PIL format
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
# Initialize the pipeline with your model
|
| 7 |
+
pipe = pipeline("image-classification", model="adonaivera/ofwat_defects_classification")
|
| 8 |
|
| 9 |
def classify_image(image):
|
| 10 |
# Convert the input image to PIL format
|