jinlinyi commited on
Commit
aadf06d
1 Parent(s): 71c19c0
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -167,8 +167,8 @@ model_zoo = {
167
  'param': True,
168
  },
169
  }
170
- for model_id in model_zoo[model_id]:
171
- html = model_zoo[model_id]['weights']
172
  if not os.path.exists(os.path.join('models', html.split('/')[-1])):
173
  os.system(f"wget -P models/ {html}")
174
 
 
167
  'param': True,
168
  },
169
  }
170
+ for model_id in model_zoo:
171
+ html = model_zoo[model_id]['weights'][0]
172
  if not os.path.exists(os.path.join('models', html.split('/')[-1])):
173
  os.system(f"wget -P models/ {html}")
174