diff --git a/app/src/components/ServerSettings/ProviderSettings.tsx b/app/src/components/ServerSettings/ProviderSettings.tsx index 566e73d2..7cd68270 100644 --- a/app/src/components/ServerSettings/ProviderSettings.tsx +++ b/app/src/components/ServerSettings/ProviderSettings.tsx @@ -22,6 +22,12 @@ import { apiClient } from '@/lib/api/client'; import { useModelDownloadToast } from '@/lib/hooks/useModelDownloadToast'; const isMacOS = () => navigator.platform.toLowerCase().includes('mac'); +const isWindows = () => navigator.platform.toLowerCase().includes('win'); +const getPlatformName = () => { + if (isMacOS()) return 'macOS'; + if (isWindows()) return 'Windows'; + return 'Linux'; +}; type ProviderType = | 'auto' @@ -200,14 +206,12 @@ export function ProviderSettings() { disabled={isStarting} > {/* PyTorch CUDA */} -
-
- +
+
+