Spaces:
Running
Running
mrfakename
commited on
Commit
•
6a94997
1
Parent(s):
0d566dc
Update app.py
Browse files
app.py
CHANGED
@@ -289,8 +289,9 @@ model_links = {
|
|
289 |
# return (choice1, choice2)
|
290 |
def model_license(name):
|
291 |
print(name)
|
292 |
-
|
293 |
-
|
|
|
294 |
return 'Unknown'
|
295 |
def get_leaderboard(reveal_prelim: bool):
|
296 |
conn = get_db()
|
|
|
289 |
# return (choice1, choice2)
|
290 |
def model_license(name):
|
291 |
print(name)
|
292 |
+
for k,v in model_licenses.items():
|
293 |
+
if v == name:
|
294 |
+
return model_licenses[k]
|
295 |
return 'Unknown'
|
296 |
def get_leaderboard(reveal_prelim: bool):
|
297 |
conn = get_db()
|