mirror of
				https://github.com/open-webui/open-webui
				synced 2025-06-26 18:26:48 +00:00 
			
		
		
		
	feat: display model size
This commit is contained in:
		
							parent
							
								
									74da8ebf5b
								
							
						
					
					
						commit
						bb2563f1c4
					
				@ -45,7 +45,10 @@
 | 
			
		||||
					{#if model.name === 'hr'}
 | 
			
		||||
						<hr />
 | 
			
		||||
					{:else}
 | 
			
		||||
						<option value={model.name} class="text-gray-700 text-lg">{model.name}</option>
 | 
			
		||||
						<option value={model.name} class="text-gray-700 text-lg"
 | 
			
		||||
							>{model.name +
 | 
			
		||||
								`${model.size ? ` (${(model.size / 1024 ** 3).toFixed(1)}GB)` : ''}`}</option
 | 
			
		||||
						>
 | 
			
		||||
					{/if}
 | 
			
		||||
				{/each}
 | 
			
		||||
			</select>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user