Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,18 @@ import numpy as np
|
|
| 24 |
|
| 25 |
# 1. 模型配置字典 - 支持多种模型类型
|
| 26 |
MODEL_CONFIGS = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"wai_nsfw_illustrious_v80": {
|
| 28 |
"repo_id": "John6666/wai-nsfw-illustrious-v80-sdxl",
|
| 29 |
"type": "sdxl", # SDXL架构
|
|
@@ -111,7 +123,7 @@ MODEL_CONFIGS = {
|
|
| 111 |
}
|
| 112 |
|
| 113 |
# 默认使用的模型 - 可以通过UI切换
|
| 114 |
-
DEFAULT_MODEL_KEY = "
|
| 115 |
|
| 116 |
# 2. 固定LoRA配置 - 自动加载
|
| 117 |
FIXED_LORAS = {
|
|
|
|
| 24 |
|
| 25 |
# 1. 模型配置字典 - 支持多种模型类型
|
| 26 |
MODEL_CONFIGS = {
|
| 27 |
+
"pornmasterPro_noobV3VAE": {
|
| 28 |
+
"repo_id": "votepurchase/pornmasterPro_noobV3VAE",
|
| 29 |
+
"type": "sdxl", # SDXL架构
|
| 30 |
+
"requires_safety_checker": False,
|
| 31 |
+
"default_negative": "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry",
|
| 32 |
+
"optimal_settings": {
|
| 33 |
+
"steps": 28,
|
| 34 |
+
"cfg": 7.0,
|
| 35 |
+
"sampler": "DPM++ 2M Karras"
|
| 36 |
+
},
|
| 37 |
+
"description": "pornmasterPro_noobV3VAE - High-quality NSFW Image generator"
|
| 38 |
+
|
| 39 |
"wai_nsfw_illustrious_v80": {
|
| 40 |
"repo_id": "John6666/wai-nsfw-illustrious-v80-sdxl",
|
| 41 |
"type": "sdxl", # SDXL架构
|
|
|
|
| 123 |
}
|
| 124 |
|
| 125 |
# 默认使用的模型 - 可以通过UI切换
|
| 126 |
+
DEFAULT_MODEL_KEY = "pornmasterPro_noobV3VAE"
|
| 127 |
|
| 128 |
# 2. 固定LoRA配置 - 自动加载
|
| 129 |
FIXED_LORAS = {
|