Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Hub: restore Unsloth owner avatar to HF profile picture (#6606)
Michael Han88e451c63d4c
diff --git a/studio/frontend/src/features/hub/catalog/owner-avatar.tsx b/studio/frontend/src/features/hub/catalog/owner-avatar.tsxindex 82a1f150d25..852c09ab5f2 100644--- a/studio/frontend/src/features/hub/catalog/owner-avatar.tsx+++ b/studio/frontend/src/features/hub/catalog/owner-avatar.tsx@@ -19,24 +19,6 @@ const SIZES: Record<AvatarSize, string> = {lg: "size-12 rounded-[15px] text-[16px]",};-// Unsloth's own uploads (no upstream provider match) show the bundled Unsloth-// brand avatar instead of a colored-initial tile, so they read as Unsloth even-// in virtualized rows that never fetch the HF profile picture.-const UNSLOTH_OWNER_LOGO: ProviderLogo = {- id: "unsloth",- name: "Unsloth",- logoPath: "/circle-logo-small.png",- treatment: "original",- background: "transparent",- fit: "cover",- // Used directly for the unsloth owner, never via prefix matching.- prefixes: [],-};--function isUnslothOwner(owner: string): boolean {- return owner.trim().toLowerCase() === "unsloth";-}-const AVATAR_IMAGE_RETRY_BASE_MS = 60_000;const AVATAR_IMAGE_RETRY_MAX_MS = 30 * 60_000;@@ -86,15 +68,6 @@ export function OwnerAvatar({/>);}- if (isUnslothOwner(owner)) {- return (- <ProviderLogoTile- provider={UNSLOTH_OWNER_LOGO}- size={size}- className={className}- />- );- }return (<DefaultAvatarowner={owner}@@ -114,9 +87,6 @@ export function useAvatarImageUrl(if (provider) {return provider.treatment === "original" ? provider.logoPath : null;}- if (isUnslothOwner(owner)) {- return UNSLOTH_OWNER_LOGO.logoPath;- }return remoteUrl;}