Spaces:
Runtime error
Runtime error
Add types
Browse filesSigned-off-by: smajumdar <[email protected]>
app.py
CHANGED
@@ -81,6 +81,7 @@ for info in hf_infos:
|
|
81 |
try:
|
82 |
lang_id = info.modelId.split("_")[1] # obtains lang id as str
|
83 |
except Exception:
|
|
|
84 |
continue
|
85 |
|
86 |
SUPPORTED_LANGUAGES.add(lang_id)
|
|
|
81 |
try:
|
82 |
lang_id = info.modelId.split("_")[1] # obtains lang id as str
|
83 |
except Exception:
|
84 |
+
print("WARNING: Skipping model id -", info)
|
85 |
continue
|
86 |
|
87 |
SUPPORTED_LANGUAGES.add(lang_id)
|