cfoli commited on
Commit
fcf5257
·
verified ·
1 Parent(s): dfc66bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,11 +95,11 @@ def run_classifer(model_key, image_path, prob_threshold = None):
95
 
96
  """
97
 
98
- example_list_dir = os.path.join(os.getcwd(), "Example images")
99
  example_list_img_names = os.listdir(example_list_dir)
100
 
101
  example_list = [
102
- ["CLIP-large", os.path.join(os.getcwd(), example_img)]
103
  for example_img in example_list_img_names
104
  if example_img.lower().endswith(".png")]
105
 
 
95
 
96
  """
97
 
98
+ example_list_dir = os.path.join(os.getcwd(), "Example images")
99
  example_list_img_names = os.listdir(example_list_dir)
100
 
101
  example_list = [
102
+ ["CLIP-large", os.path.join(example_list_dir, example_img)]
103
  for example_img in example_list_img_names
104
  if example_img.lower().endswith(".png")]
105