Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

remove a req

rorycleard6c8cd91f9fb
diff --git a/clip_requirements.txt b/clip_requirements.txt
index bd31bd7..c2f057c 100644
--- a/clip_requirements.txt
+++ b/clip_requirements.txt
@@ -1,6 +1,5 @@
filelock==3.20.0
fsspec==2025.10.0
-ftfy==6.3.1
Jinja2==3.1.6
MarkupSafe==3.0.3
mpmath==1.3.0
@@ -15,4 +14,3 @@ tinygrad @ git+https://github.com/roryclear/tinygrad.git@2b13c3de65fb00f28597eae
torch==2.9.1
torchvision==0.24.1
typing_extensions==4.15.0
-wcwidth==0.2.14
diff --git a/utils/clip_tokenizer.py b/utils/clip_tokenizer.py
index c83133d..65dc972 100644
--- a/utils/clip_tokenizer.py
+++ b/utils/clip_tokenizer.py
@@ -12,7 +12,6 @@ from functools import lru_cache, partial
from typing import Callable, List, Optional, Union, Dict
import warnings
-import ftfy
import numpy as np
import regex as re
import torch
@@ -64,7 +63,6 @@ def get_pairs(word):
def basic_clean(text):
- text = ftfy.fix_text(text)
text = html.unescape(html.unescape(text))
return text.strip()