alexander00001 commited on
Commit
2bcc097
·
verified ·
1 Parent(s): 82deaa9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -36,8 +36,8 @@ STYLE_KEYWORDS = {
36
  "suffix": ""
37
  },
38
  "Standard Quality": {
39
- "prefix": "(RAW photo:1.3), (photorealistic:1.4), (hyperrealistic:1.3), 8k uhd, (ultra realistic skin texture:1.2), cinematic lighting, vibrant colors, masterpiece, realistic skin texture, detailed anatomy, professional photography",
40
- "suffix": "sharp focus, (everything in focus:1.3), (no bokeh:1.2), realistic skin texture, subsurface scattering, detailed anatomy, (perfect anatomy:1.2), detailed face, detailed background, lifelike, professional photography, realistic proportions, (detailed face:1.1), natural pose, expressive eyes, 8k resolution"
41
  },
42
  "High Detail": {
43
  "prefix": "masterpiece, best quality, amazing quality, very aesthetic, high resolution, ultra-detailed, absurdres, newest, colorful, rim light, backlit, highest detailed",
@@ -58,7 +58,7 @@ STYLE_KEYWORDS = {
58
  }
59
 
60
  # 通用质量增强词
61
- QUALITY_TAGS = "very awa"
62
 
63
  # 修改为Kageillustrious模型 - 使用from_single_file加载
64
  FIXED_MODEL_REPO = "PutiLeslie/kageillustrious_v60NLXLVersion"
@@ -67,9 +67,9 @@ FIXED_MODEL_FILE = "kageillustrious_v60NLXLVersion.safetensors"
67
  # LoRA 配置 - 保留原有的LoRA(可能需要测试兼容性)
68
  LORA_CONFIGS = [
69
  {
70
- "repo_id": "OedoSoldier/detail-tweaker-lora",
71
- "weight_name": "add_detail.safetensors",
72
- "adapter_name": "detail-tweaker-lora",
73
  "scale": 0.8
74
  }
75
  ]
@@ -787,7 +787,7 @@ if __name__ == "__main__":
787
  print(f"⚡ ZeroGPU: {'Enabled' if SPACES_AVAILABLE else 'Disabled'}")
788
  print(f"📝 Compel: {'Available' if COMPEL_AVAILABLE else 'Not Available'}")
789
  if LORA_CONFIGS:
790
- print(f"🎨 LoRA: detail-tweaker-lora (scale: {LORA_CONFIGS[0].get('scale', 0.8)})")
791
  print("="*50 + "\n")
792
 
793
  # 不预加载模型,让ZeroGPU按需分配
 
36
  "suffix": ""
37
  },
38
  "Standard Quality": {
39
+ "prefix": "(RAW photo:1.3), (photorealistic:1.4), (hyperrealistic:1.3), 8k uhd, (ultra realistic skin texture:1.2), cinematic lighting, vibrant colors,masterpiece, realistic skin texture, detailed anatomy, professional photography",
40
+ "suffix": "sharp focus, (everything in focus:1.3), (no bokeh:1.2), realistic skin texture, subsurface scattering, detailed anatomy, (perfect anatomy:1.2),detailed face, detailed background, lifelike, professional photography, realistic proportions, (detailed face:1.1), natural pose,expressive eyes, 8k resolution"
41
  },
42
  "High Detail": {
43
  "prefix": "masterpiece, best quality, amazing quality, very aesthetic, high resolution, ultra-detailed, absurdres, newest, colorful, rim light, backlit, highest detailed",
 
58
  }
59
 
60
  # 通用质量增强词
61
+ QUALITY_TAGS = "very awa, masterpiece, best quality, high resolution, highly detailed, professional"
62
 
63
  # 修改为Kageillustrious模型 - 使用from_single_file加载
64
  FIXED_MODEL_REPO = "PutiLeslie/kageillustrious_v60NLXLVersion"
 
67
  # LoRA 配置 - 保留原有的LoRA(可能需要测试兼容性)
68
  LORA_CONFIGS = [
69
  {
70
+ "repo_id": "artificialguybr/LogoRedmond-LogoLoraForSDXL-V2",
71
+ "weight_name": "LogoRedAF.safetensors",
72
+ "adapter_name": "logo_lora",
73
  "scale": 0.8
74
  }
75
  ]
 
787
  print(f"⚡ ZeroGPU: {'Enabled' if SPACES_AVAILABLE else 'Disabled'}")
788
  print(f"📝 Compel: {'Available' if COMPEL_AVAILABLE else 'Not Available'}")
789
  if LORA_CONFIGS:
790
+ print(f"🎨 LoRA: LogoRedmond-LogoLoraForSDXL-V2 (scale: {LORA_CONFIGS[0].get('scale', 0.8)})")
791
  print("="*50 + "\n")
792
 
793
  # 不预加载模型,让ZeroGPU按需分配