yestinl commited on
Commit
7166b93
·
1 Parent(s): eec678f

update readme

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. README_CN.md +1 -1
README.md CHANGED
@@ -238,7 +238,7 @@ image = pipe(
238
  width=2048,
239
  height=2048,
240
  use_reprompt=True, # Enable prompt enhancement
241
- use_refiner=False, # Disable refiner model, enable it to achieve higher image quality.
242
  # For the distilled model, use 8 steps for faster inference.
243
  # For the non-distilled model, use 50 steps for better quality
244
  num_inference_steps=8 if "distilled" in model_name else 50,
 
238
  width=2048,
239
  height=2048,
240
  use_reprompt=True, # Enable prompt enhancement
241
+ use_refiner=True, # Enable refiner model
242
  # For the distilled model, use 8 steps for faster inference.
243
  # For the non-distilled model, use 50 steps for better quality
244
  num_inference_steps=8 if "distilled" in model_name else 50,
README_CN.md CHANGED
@@ -211,7 +211,7 @@ image = pipe(
211
  width=2048,
212
  height=2048,
213
  use_reprompt=True, # 启用提示词增强
214
- use_refiner=False, # 关闭精修模型, 可开启以获得更高画质
215
  # 对于蒸馏版模型,建议使用 8 步以加快推理速度;
216
  # 对于非蒸馏版模型,建议使用 50 步以获得更高画质
217
  num_inference_steps=8 if "distilled" in model_name else 50,
 
211
  width=2048,
212
  height=2048,
213
  use_reprompt=True, # 启用提示词增强
214
+ use_refiner=True, # 启用精修模型, 以获得更高画质
215
  # 对于蒸馏版模型,建议使用 8 步以加快推理速度;
216
  # 对于非蒸馏版模型,建议使用 50 步以获得更高画质
217
  num_inference_steps=8 if "distilled" in model_name else 50,