mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-16 11:50:35 +08:00
format style
This commit is contained in:
@@ -9,7 +9,7 @@ def is_package_available(name: str) -> bool:
|
||||
def get_package_version(name: str) -> str:
|
||||
try:
|
||||
return importlib.metadata.version(name)
|
||||
except:
|
||||
except Exception:
|
||||
return "0.0.0"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user