Adonai Vera commited on
Commit
e0834a0
·
1 Parent(s): 1ae6cec

ready for test

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ from PIL import Image
6
  # Initialize the pipeline with your model
7
  pipe = pipeline("image-classification", model="SubterraAI/ofwat_defects_classification")
8
 
 
9
  def classify_image(image):
10
  # Convert the input image to PIL format
11
  PIL_image = Image.fromarray(image).convert('RGB')
 
6
  # Initialize the pipeline with your model
7
  pipe = pipeline("image-classification", model="SubterraAI/ofwat_defects_classification")
8
 
9
+
10
  def classify_image(image):
11
  # Convert the input image to PIL format
12
  PIL_image = Image.fromarray(image).convert('RGB')