sk2003 commited on
Commit
4cb93ee
1 Parent(s): 0cdd25a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def predict_and_show(image):
33
  outputs = vgg16(image_tensor)
34
  _, predicted = torch.max(outputs.data, 1)
35
 
36
- class_names = ["Class1", "Class2", "Class3"] # Replace with your actual class names
37
  predicted_label = class_names[predicted.item()]
38
 
39
  plt.imshow(image)
 
33
  outputs = vgg16(image_tensor)
34
  _, predicted = torch.max(outputs.data, 1)
35
 
36
+ class_names = ["Classic", "Modern", "Vintage", "Glamour", "Scandinavian", "Rustic", "ArtDeco", "Industrial"]
37
  predicted_label = class_names[predicted.item()]
38
 
39
  plt.imshow(image)