From e2666f0e74425a4811ddccff1fa020f88972616e Mon Sep 17 00:00:00 2001
From: Mert <101130780+mertalev@users.noreply.github.com>
Date: Sat, 13 Jan 2024 00:25:26 -0500
Subject: [PATCH] fix(ml): remove unused import (#6356)

* remove unused import

* formatting
---
 machine-learning/app/main.py               | 2 +-
 machine-learning/export/models/openclip.py | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/machine-learning/app/main.py b/machine-learning/app/main.py
index eb3227acc0..6fba15de18 100644
--- a/machine-learning/app/main.py
+++ b/machine-learning/app/main.py
@@ -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
diff --git a/machine-learning/export/models/openclip.py b/machine-learning/export/models/openclip.py
index 46c11cb4ef..d5d2b3ef5d 100644
--- a/machine-learning/export/models/openclip.py
+++ b/machine-learning/export/models/openclip.py
@@ -1,7 +1,6 @@
 import tempfile
 import warnings
 from dataclasses import dataclass, field
-from math import e
 from pathlib import Path
 
 import open_clip