Spaces:
Runtime error
Runtime error
Adonai Vera
commited on
Commit
•
a9f27ef
1
Parent(s):
22c120b
return first version
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="SubterraAI/ofwat_material_classification"
|
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="SubterraAI/ofwat_material_classification")
|
8 |
|
9 |
def classify_image(image):
|
10 |
# Convert the input image to PIL format
|