Nathan12 commited on
Commit
7cc1ffa
·
1 Parent(s): 07cb9a1
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -143,7 +143,6 @@ def main_interface(model_name, sparsity, action):
143
  'MobileNetV2': models.mobilenet_v2(pretrained=False),
144
  'EfficientNet-B0': models.efficientnet_b0(pretrained=False),
145
  'VGG16': models.vgg16(pretrained=False),
146
- 'DenseNet121': models.densenet121(pretrained=False)
147
  }
148
 
149
  model = model_mapping[model_name]
@@ -166,7 +165,7 @@ def main_interface(model_name, sparsity, action):
166
  os.remove(temp_path)
167
 
168
 
169
- available_models = ['ResNet18', 'ResNet50', 'MobileNetV2', 'EfficientNet-B0', 'VGG16', 'DenseNet121']
170
 
171
  iface = gr.Interface(
172
  fn=main_interface,
 
143
  'MobileNetV2': models.mobilenet_v2(pretrained=False),
144
  'EfficientNet-B0': models.efficientnet_b0(pretrained=False),
145
  'VGG16': models.vgg16(pretrained=False),
 
146
  }
147
 
148
  model = model_mapping[model_name]
 
165
  os.remove(temp_path)
166
 
167
 
168
+ available_models = ['ResNet18', 'ResNet50', 'MobileNetV2', 'EfficientNet-B0', 'VGG16']
169
 
170
  iface = gr.Interface(
171
  fn=main_interface,