feat:添加rembg到列表#1566

This commit is contained in:
okxlin 2024-09-23 01:07:09 +08:00
parent 96cb5223d5
commit 6ae2ad2161
12 changed files with 135 additions and 0 deletions

View File

@ -0,0 +1,3 @@
COMMAND="s"
CONTAINER_NAME="rembg"
PANEL_APP_PORT_HTTP=40295

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: "40295"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "s"
edit: true
envKey: COMMAND
labelEn: Startup command
labelZh: 启动命令
required: true
type: text

View File

@ -0,0 +1,16 @@
services:
rembg:
image: "danielgatis/rembg:2.0.58"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:7000"
command: "${COMMAND}"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

3
apps/rembg/README.md Normal file
View File

@ -0,0 +1,3 @@
# Rembg
Rembg 是一个用于去除图片背景的工具。

19
apps/rembg/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: Rembg
tags:
- AI / 大模型
title: 图像背景去除工具
description: 图像背景去除工具
additionalProperties:
key: rembg
name: Rembg
tags:
- AI
shortDescZh: 图像背景去除工具
shortDescEn: A tool to remove images background
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://github.com/danielgatis/rembg
github: https://github.com/danielgatis/rembg
document: https://github.com/danielgatis/rembg

View File

@ -0,0 +1,3 @@
COMMAND="s"
CONTAINER_NAME="rembg"
PANEL_APP_PORT_HTTP=40295

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: "40295"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "s"
edit: true
envKey: COMMAND
labelEn: Startup command
labelZh: 启动命令
required: true
type: text

View File

@ -0,0 +1,21 @@
services:
rembg:
image: "danielgatis/rembg:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:7000"
command: "${COMMAND}"
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,3 @@
COMMAND="s"
CONTAINER_NAME="rembg"
PANEL_APP_PORT_HTTP=40295

View File

@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: "40295"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "s"
edit: true
envKey: COMMAND
labelEn: Startup command
labelZh: 启动命令
required: true
type: text

View File

@ -0,0 +1,16 @@
services:
rembg:
image: "danielgatis/rembg:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:7000"
command: "${COMMAND}"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/rembg/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB