yasu-oh
commited on
Commit
·
5df4a84
1
Parent(s):
47f79b3
judg
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def is_architecture_supported(architecture: str) -> Optional[bool]:
|
|
58 |
for name in match.replace('\n', '').replace('"', '').split(',')
|
59 |
if name.strip()
|
60 |
]
|
61 |
-
return any(architecture
|
62 |
except:
|
63 |
return None
|
64 |
|
|
|
58 |
for name in match.replace('\n', '').replace('"', '').split(',')
|
59 |
if name.strip()
|
60 |
]
|
61 |
+
return any(architecture == entry for entry in model_names)
|
62 |
except:
|
63 |
return None
|
64 |
|