Spaces:
Runtime error
Runtime error
Adonai Vera
commited on
Commit
·
41415df
1
Parent(s):
a20b345
re-lunch
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ pipe = pipeline("image-classification", model="SubterraAI/ofwat_cleaner_classifi
|
|
9 |
HF_TOKEN = os.environ.get('HF_TOKEN')
|
10 |
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "ofwat_cleaner_loop", private=True, separate_dirs=True)
|
11 |
|
12 |
-
|
13 |
def classify_image(image):
|
14 |
# Convert the input image to PIL format
|
15 |
PIL_image = Image.fromarray(image).convert('RGB')
|
|
|
9 |
HF_TOKEN = os.environ.get('HF_TOKEN')
|
10 |
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "ofwat_cleaner_loop", private=True, separate_dirs=True)
|
11 |
|
|
|
12 |
def classify_image(image):
|
13 |
# Convert the input image to PIL format
|
14 |
PIL_image = Image.fromarray(image).convert('RGB')
|