Adonai Vera commited on
Commit
222cac6
·
1 Parent(s): c6d54f2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import os
7
  HF_TOKEN = os.environ.get('HF_TOKEN')
8
 
9
  # Initialize the pipeline with your model
10
- pipe = pipeline("image-classification", model="SubterraAI/ofwat_cleaner_classification", token=HF_TOKEN)
11
 
12
  def classify_image(image):
13
  # Convert the input image to PIL format
 
7
  HF_TOKEN = os.environ.get('HF_TOKEN')
8
 
9
  # Initialize the pipeline with your model
10
+ pipe = pipeline("image-classification", model="SubterraAI/ofwat_cleaner_classification", use_auth_token=HF_TOKEN)
11
 
12
  def classify_image(image):
13
  # Convert the input image to PIL format