Spaces:
Runtime error
Runtime error
Adonai Vera
commited on
Commit
·
8021e2a
1
Parent(s):
222cac6
Make more test
Browse files
app.py
CHANGED
@@ -6,8 +6,9 @@ import os
|
|
6 |
|
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
|
|
|
6 |
|
7 |
HF_TOKEN = os.environ.get('HF_TOKEN')
|
8 |
|
9 |
+
print(HF_TOKEN)
|
10 |
# Initialize the pipeline with your model
|
11 |
+
pipe = pipeline("image-classification", model="SubterraAI/ofwat_cleaner_classification", token=HF_TOKEN)
|
12 |
|
13 |
def classify_image(image):
|
14 |
# Convert the input image to PIL format
|