VaneshDev commited on
Commit
49f356e
·
verified ·
1 Parent(s): 85ed870

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ conditions = [
23
  # Load and configure the model
24
  model = models.densenet121(pretrained=True) # DenseNet pre-trained on ImageNet
25
  num_features = model.classifier.in_features
26
- model.classifier = torch.nn.Linear(num_features, len(conditions)) # Output for all 16 conditions
27
  model.eval()
28
 
29
  # Define device
 
23
  # Load and configure the model
24
  model = models.densenet121(pretrained=True) # DenseNet pre-trained on ImageNet
25
  num_features = model.classifier.in_features
26
+ model.classifier = torch.nn.Linear(num_features, len(conditions)) # Output for all 24 conditions
27
  model.eval()
28
 
29
  # Define device