[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
8074a2b67b
commit
8c10cf5f16
1 changed files with 1 additions and 3 deletions
|
|
@ -253,9 +253,7 @@ class DiffusionBackend:
|
|||
# Only echo the GGUF basename; full absolute path leaks the
|
||||
# local HF cache layout (and the system username on default
|
||||
# POSIX layouts) to any authenticated Studio session.
|
||||
gguf_basename = (
|
||||
Path(self._gguf_path).name if self._gguf_path else None
|
||||
)
|
||||
gguf_basename = Path(self._gguf_path).name if self._gguf_path else None
|
||||
return {
|
||||
"is_loaded": self.is_loaded,
|
||||
"is_loading": self._loading,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue