mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	fix(ml): remove unused import (#6356)
* remove unused import * formatting
This commit is contained in:
		
							parent
							
								
									20be42cec0
								
							
						
					
					
						commit
						e2666f0e74
					
				@ -43,7 +43,7 @@ async def lifespan(_: FastAPI) -> AsyncGenerator[None, None]:
 | 
			
		||||
            f"{f'after {settings.model_ttl}s of inactivity' if settings.model_ttl > 0 else 'disabled'}."
 | 
			
		||||
        )
 | 
			
		||||
    )
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    try:
 | 
			
		||||
        if settings.request_threads > 0:
 | 
			
		||||
            # asyncio is a huge bottleneck for performance, so we use a thread pool to run blocking code
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
import tempfile
 | 
			
		||||
import warnings
 | 
			
		||||
from dataclasses import dataclass, field
 | 
			
		||||
from math import e
 | 
			
		||||
from pathlib import Path
 | 
			
		||||
 | 
			
		||||
import open_clip
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user