Spaces:
Running
Running
Commit
•
ecca97f
1
Parent(s):
9068c64
Update app.py
Browse files
app.py
CHANGED
@@ -288,11 +288,12 @@ model_links = {
|
|
288 |
# choice2 = get_random_split(choice1)
|
289 |
# return (choice1, choice2)
|
290 |
def model_license(name):
|
|
|
291 |
for k, v in AVAILABLE_MODELS.items():
|
292 |
-
print(v)
|
293 |
if v == name:
|
294 |
print(v, k)
|
295 |
return model_licenses[k]
|
|
|
296 |
return 'Unknown'
|
297 |
def get_leaderboard(reveal_prelim: bool):
|
298 |
conn = get_db()
|
|
|
288 |
# choice2 = get_random_split(choice1)
|
289 |
# return (choice1, choice2)
|
290 |
def model_license(name):
|
291 |
+
print(name)
|
292 |
for k, v in AVAILABLE_MODELS.items():
|
|
|
293 |
if v == name:
|
294 |
print(v, k)
|
295 |
return model_licenses[k]
|
296 |
+
print('---')
|
297 |
return 'Unknown'
|
298 |
def get_leaderboard(reveal_prelim: bool):
|
299 |
conn = get_db()
|