Adonai Vera commited on
Commit
06d5653
·
1 Parent(s): f54d064
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,7 +6,8 @@ import os
6
  # Initialize the pipeline with your model
7
  pipe = pipeline("image-classification", model="SubterraAI/ofwat_cleaner_classification")
8
  HF_TOKEN = os.environ.get('HF_TOKEN')
9
- hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "ofwat_cleaner_loop", private=True, separate_dirs=True)
 
10
 
11
  def classify_image(image):
12
  # Convert the input image to PIL format
 
6
  # Initialize the pipeline with your model
7
  pipe = pipeline("image-classification", model="SubterraAI/ofwat_cleaner_classification")
8
  HF_TOKEN = os.environ.get('HF_TOKEN')
9
+ print(HF_TOKEN)
10
+ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "SubterraAI/ofwat_cleaner_loop", separate_dirs=True)
11
 
12
  def classify_image(image):
13
  # Convert the input image to PIL format