mirror of
https://github.com/Refound-445/nonebot-plugin-nailongremove.git
synced 2025-09-27 02:49:17 +08:00
This commit is contained in:
parent
ea8fe3f04d
commit
4b450c4e8f
@ -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="一个基于图像分类模型的简单插件~",
|
||||
|
@ -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__()
|
||||
|
@ -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" }
|
||||
|
Loading…
Reference in New Issue
Block a user