multimodalart HF staff commited on
Commit
64d4b3b
1 Parent(s): 192e64c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def extract_info(json_data):
70
  "urls_to_download": urls_to_download,
71
  "id": model_version["id"],
72
  "baseModel": base_model,
73
- "modelId": model_version["modelId"] if modelId in model_version else "",
74
  "name": json_data["name"],
75
  "description": json_data["description"],
76
  "trainedWords": model_version["trainedWords"],
 
70
  "urls_to_download": urls_to_download,
71
  "id": model_version["id"],
72
  "baseModel": base_model,
73
+ "modelId": model_version.get("modelId", ""),
74
  "name": json_data["name"],
75
  "description": json_data["description"],
76
  "trainedWords": model_version["trainedWords"],