Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def model_explorer(search,task,limit=100):
|
|
22 |
cnt+=1
|
23 |
#if mod.gated=='manual':
|
24 |
out_box.append(mod)
|
25 |
-
loaded=
|
26 |
loaded['DOWNLOAD_LINK']=f'<a href="https://huggingface.co/models/{mod.id}">{mod.id}'
|
27 |
out_box1.append(loaded)
|
28 |
name_box.append(mod.id)
|
|
|
22 |
cnt+=1
|
23 |
#if mod.gated=='manual':
|
24 |
out_box.append(mod)
|
25 |
+
loaded=json.loads(out_box)
|
26 |
loaded['DOWNLOAD_LINK']=f'<a href="https://huggingface.co/models/{mod.id}">{mod.id}'
|
27 |
out_box1.append(loaded)
|
28 |
name_box.append(mod.id)
|