veronhii commited on
Commit
c2ae9dd
·
1 Parent(s): eac6a83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def dropdown_example(choice, img):
53
  return predict_top_classes(img, model_name)
54
 
55
  dropdown = gr.inputs.Dropdown(
56
- choices=["Xception","InceptionV3","InceptionResNetV2","DenseNet201"],
57
  type="index",
58
  label="Select a model"
59
  )
 
53
  return predict_top_classes(img, model_name)
54
 
55
  dropdown = gr.inputs.Dropdown(
56
+ choices=list(models.key()),
57
  type="index",
58
  label="Select a model"
59
  )