Commit
·
5f34e4a
1
Parent(s):
fd85286
Update app.py
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ def certification(hf_username, first_name, last_name):
|
|
245 |
if unit["unit"] == "Unit 6":
|
246 |
# Since Unit 6 can use PandaReachDense-v2 or v3
|
247 |
user_models = get_user_models(hf_username, "PandaReachDense-v3", unit["library"])
|
248 |
-
if user_models ==
|
249 |
print("Empty")
|
250 |
user_models = get_user_models(hf_username, "PandaReachDense-v2", unit["library"])
|
251 |
elif unit["unit"] != "Unit 8 PII":
|
|
|
245 |
if unit["unit"] == "Unit 6":
|
246 |
# Since Unit 6 can use PandaReachDense-v2 or v3
|
247 |
user_models = get_user_models(hf_username, "PandaReachDense-v3", unit["library"])
|
248 |
+
if len(user_models) == 0:
|
249 |
print("Empty")
|
250 |
user_models = get_user_models(hf_username, "PandaReachDense-v2", unit["library"])
|
251 |
elif unit["unit"] != "Unit 8 PII":
|