mirror of
https://github.com/Refound-445/nonebot-plugin-nailongremove.git
synced 2025-11-04 21:22:43 +08:00
This commit is contained in:
parent
d2cb2ca46e
commit
f6971d3fe9
@ -76,13 +76,19 @@ still occur to varying degrees. Feedback is welcome!
|
|||||||
|
|
||||||
## 💿 Installation
|
## 💿 Installation
|
||||||
|
|
||||||
|
### Cloud Deployment
|
||||||
|
|
||||||
|
The [run_with_napcat_en.ipynb](https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/main/ipynb/run_with_napcat_en.ipynb) file supports one-click deployment on platforms like Kaggle or Huggingface's Spaces. You can complete the bot deployment simply by clicking "Run" and scanning the QR code!
|
||||||
|
|
||||||
|
### Local Deployment
|
||||||
|
|
||||||
**If you are new to NoneBot, please refer
|
**If you are new to NoneBot, please refer
|
||||||
to [this guide](https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/main/docs/tutorial_en.md)**
|
to [this guide](https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/main/docs/tutorial_en.md)**
|
||||||
|
|
||||||
To avoid dependency issues, we've separated the installation methods for using GPU inference from the regular
|
To avoid dependency issues, we've separated the installation methods for using GPU inference from the regular
|
||||||
installation. Choose the one that suits your needs.
|
installation. Choose the one that suits your needs.
|
||||||
|
|
||||||
### Using CPU Inference
|
#### Using CPU Inference
|
||||||
|
|
||||||
You can choose one of the following methods.
|
You can choose one of the following methods.
|
||||||
|
|
||||||
@ -146,7 +152,7 @@ plugins = [
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### Using GPU Inference
|
#### Using GPU Inference
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Click to expand</summary>
|
<summary>Click to expand</summary>
|
||||||
@ -276,8 +282,6 @@ Add the required configurations from the table below to the `.env` file in your
|
|||||||
|
|
||||||
Whenever a "NaiLong" meme is recognized, it will be retracted and notified.
|
Whenever a "NaiLong" meme is recognized, it will be retracted and notified.
|
||||||
|
|
||||||
Cloud Deployment: The [run_with_napcat_en.ipynb](https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/main/ipynb/run_with_napcat_en.ipynb) file supports one-click deployment on platforms like Kaggle or Huggingface's Spaces. You can complete the bot deployment simply by clicking "Run" and scanning the QR code!
|
|
||||||
|
|
||||||
To store errored images locally (for `SUPERUSERS`): Send "This is [type]"+image, for example: "This is nailong+image",
|
To store errored images locally (for `SUPERUSERS`): Send "This is [type]"+image, for example: "This is nailong+image",
|
||||||
and it will be automatically stored locally. When similarity detection is on, in the next image check, it will
|
and it will be automatically stored locally. When similarity detection is on, in the next image check, it will
|
||||||
prioritize recognizing the images already stored locally.
|
prioritize recognizing the images already stored locally.
|
||||||
|
|||||||
@ -69,12 +69,18 @@ NaiLongRemove 是一款由简单的 AI 模型建立的奶龙识别插件,可
|
|||||||
|
|
||||||
## 💿 安装
|
## 💿 安装
|
||||||
|
|
||||||
|
### 1.云部署
|
||||||
|
|
||||||
|
[run_with_napcat.ipynb](https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/main/ipynb/run_with_napcat.ipynb)文件,支持Kaggle或者Huggingface的Space等一键部署,仅需点击运行和扫码即可完成bot部署!
|
||||||
|
|
||||||
|
### 2.本地部署
|
||||||
|
|
||||||
**如果你从来没接触过
|
**如果你从来没接触过
|
||||||
NoneBot,请查看 [这个文档](https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/main/docs/tutorial.md)**
|
NoneBot,请查看 [这个文档](https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/main/docs/tutorial.md)**
|
||||||
|
|
||||||
为避免依赖问题,我们把使用 GPU 推理的插件安装方式与普通安装分开了,供有需要的用户选择安装
|
为避免依赖问题,我们把使用 GPU 推理的插件安装方式与普通安装分开了,供有需要的用户选择安装
|
||||||
|
|
||||||
### 使用 CPU 推理
|
#### 使用 CPU 推理
|
||||||
|
|
||||||
以下提到的方法 任选**其一** 即可
|
以下提到的方法 任选**其一** 即可
|
||||||
|
|
||||||
@ -137,7 +143,7 @@ plugins = [
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### 使用 GPU 推理
|
#### 使用 GPU 推理
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>点击展开</summary>
|
<summary>点击展开</summary>
|
||||||
@ -262,8 +268,6 @@ pip install nonebot-plugin-nailongremove-base -U
|
|||||||
|
|
||||||
只要有人发奶龙表情包被识别出来,就会被撤回并提醒。
|
只要有人发奶龙表情包被识别出来,就会被撤回并提醒。
|
||||||
|
|
||||||
云部署:[run_with_napcat.ipynb](https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/main/ipynb/run_with_napcat.ipynb)文件,支持Kaggle或者Huggingface的Space等一键部署,仅需点击运行和扫码即可完成bot部署!
|
|
||||||
|
|
||||||
本地存储报错图片(限`SUPERUSERS`):发送"这是[种类]"+图片,例如:"这是nailong+图片",便会自动存储到本地,开启相似度检测后,在下一次检测图片会优先识别本地已存储的图片。
|
本地存储报错图片(限`SUPERUSERS`):发送"这是[种类]"+图片,例如:"这是nailong+图片",便会自动存储到本地,开启相似度检测后,在下一次检测图片会优先识别本地已存储的图片。
|
||||||
|
|
||||||
## 📞 联系
|
## 📞 联系
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user