Omnibus commited on
Commit
9fc28e4
·
verified ·
1 Parent(s): 46b7295

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=gr.JSON(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)
 
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)