forked from open-webui/open-webui
		
	feat: display model size
This commit is contained in:
		
							parent
							
								
									74da8ebf5b
								
							
						
					
					
						commit
						bb2563f1c4
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -45,7 +45,10 @@ | ||||||
| 					{#if model.name === 'hr'} | 					{#if model.name === 'hr'} | ||||||
| 						<hr /> | 						<hr /> | ||||||
| 					{:else} | 					{: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} | 					{/if} | ||||||
| 				{/each} | 				{/each} | ||||||
| 			</select> | 			</select> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek