Spaces:
Runtime error
Runtime error
Adonai Vera
commited on
Commit
·
222cac6
1
Parent(s):
c6d54f2
token
Browse files
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",
|
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
|