allow safetensors converter on macOS
This commit is contained in:
		
							parent
							
								
									3a449e7b46
								
							
						
					
					
						commit
						f2d0dda2ff
					
				@ -273,10 +273,7 @@ const Configs: FC = observer(() => {
 | 
			
		||||
                    <ToolTipButton text={t('Convert To Safe Tensors Format')}
 | 
			
		||||
                      desc=""
 | 
			
		||||
                      onClick={async () => {
 | 
			
		||||
                        if (commonStore.platform === 'darwin') {
 | 
			
		||||
                          toast(t('MacOS is not yet supported for performing this operation, please do it manually.') + ' (backend-python/convert_safetensors.py)', { type: 'info' });
 | 
			
		||||
                          return;
 | 
			
		||||
                        } else if (commonStore.platform === 'linux') {
 | 
			
		||||
                        if (commonStore.platform === 'linux') {
 | 
			
		||||
                          toast(t('Linux is not yet supported for performing this operation, please do it manually.') + ' (backend-python/convert_safetensors.py)', { type: 'info' });
 | 
			
		||||
                          return;
 | 
			
		||||
                        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user