Spaces:
Runtime error
Runtime error
Commit
·
f7b6a3b
1
Parent(s):
e052c53
return recommmendation
Browse files
app.py
CHANGED
@@ -310,10 +310,9 @@ def _basic_check(hub_id):
|
|
310 |
for v in to_fix.values():
|
311 |
recommendations += f"\n- {v}"
|
312 |
data_dict["score"] = score
|
|
|
313 |
return orjson.dumps(data_dict)
|
314 |
-
|
315 |
-
# score_summary + recommendations if recommendations else score_summary
|
316 |
-
# )
|
317 |
except Exception as e:
|
318 |
print(e)
|
319 |
return None
|
|
|
310 |
for v in to_fix.values():
|
311 |
recommendations += f"\n- {v}"
|
312 |
data_dict["score"] = score
|
313 |
+
data_dict["recommendations"] = recommendations
|
314 |
return orjson.dumps(data_dict)
|
315 |
+
|
|
|
|
|
316 |
except Exception as e:
|
317 |
print(e)
|
318 |
return None
|