Spaces:
Running
on
T4
Running
on
T4
fix bug
Browse files
app.py
CHANGED
@@ -167,8 +167,8 @@ model_zoo = {
|
|
167 |
'param': True,
|
168 |
},
|
169 |
}
|
170 |
-
for model_id in model_zoo
|
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 |
|