up
Some checks are pending
Pre Commit Check / pre-commit (push) Waiting to run

This commit is contained in:
Refound-445 2025-01-30 23:02:12 +08:00
parent ea8fe3f04d
commit 4b450c4e8f
3 changed files with 1 additions and 11 deletions

View File

@ -9,7 +9,7 @@ require("nonebot_plugin_uninfo")
from . import handler as handler
from .config import Config
__version__ = "2.3.5.post1"
__version__ = "2.3.5.post2"
__plugin_meta__ = PluginMetadata(
name="自动撤回奶龙",
description="一个基于图像分类模型的简单插件~",

View File

@ -26,15 +26,6 @@ from PIL import Image as Img, ImageSequence
T = TypeVar("T")
import ssl
SSL_CONTEXT = ssl.create_default_context()
SSL_CONTEXT.set_ciphers('DEFAULT')
SSL_CONTEXT.options |= ssl.OP_NO_SSLv2
SSL_CONTEXT.options |= ssl.OP_NO_SSLv3
SSL_CONTEXT.options |= ssl.OP_NO_TLSv1
SSL_CONTEXT.options |= ssl.OP_NO_TLSv1_1
SSL_CONTEXT.options |= ssl.OP_NO_COMPRESSION
class FrameSource(ABC, Generic[T]):
def __init__(self, data: T) -> None:
super().__init__()

View File

@ -23,7 +23,6 @@ dependencies = [
"ultralytics>=8.3.31",
"gradio-client>=1.3.0",
"faiss-cpu>=1.9.0.post1",
"faiss-gpu>=1.7.2",
"scikit-learn>=1.5.2",
]
license = { text = "MIT" }