padmanabhbosamia commited on
Commit
52e7bd3
·
1 Parent(s): caddf15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -65,19 +65,19 @@ description1 = "Test the model's prediction. Currently the model only supports t
65
 
66
 
67
  # Define the full path to the images folder
68
- #images_folder = "examples"
69
 
70
  # Define the examples list with full paths
71
- examples = [("plane.jpg", 0.5, -1),
72
- ("car.jpg", 0.5, -1),
73
- ("bird.jpg", 0.5, -1),
74
- ("cat.jpg", 0.5, -1),
75
- ("deer.jpg", 0.5, -1),
76
- ("dog.jpg", 0.5, -1),
77
- ("frog.jpg", 0.5, -1),
78
- ("horse.jpg", 0.5, -1),
79
- ("ship.jpg", 0.5, -1),
80
- ("truck.jpg", 0.5, -1)]
81
 
82
 
83
  # Create a separate interface for the "Input an image" tab
 
65
 
66
 
67
  # Define the full path to the images folder
68
+ images_folder = "examples"
69
 
70
  # Define the examples list with full paths
71
+ examples = [[os.path.join(images_folder, "plane.jpg"), 0.5, -1],
72
+ [os.path.join(images_folder, "car.jpg"), 0.5, -1],
73
+ [os.path.join(images_folder, "bird.jpeg"), 0.5, -1],
74
+ [os.path.join(images_folder, "cat.jpeg"), 0.5, -1],
75
+ [os.path.join(images_folder, "deer.jpeg"), 0.5, -1],
76
+ [os.path.join(images_folder, "dog.jpeg"), 0.5, -1],
77
+ [os.path.join(images_folder, "frog.jpeg"), 0.5, -1],
78
+ [os.path.join(images_folder, "horse.jpeg"), 0.5, -1],
79
+ [os.path.join(images_folder, "ship.jpeg"), 0.5, -1],
80
+ [os.path.join(images_folder, "truck.jpeg"), 0.5, -1]]
81
 
82
 
83
  # Create a separate interface for the "Input an image" tab