ford442 commited on
Commit
4d779d6
·
1 Parent(s): d372485

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def apply_style(style_name: str, positive: str, negative: str = "") -> Tuple[str
101
  if not negative:
102
  negative = ""
103
  return p.replace("{prompt}", positive), n + negative
104
- https://huggingface.co/BeastHF/MyBack_SDXL_Juggernaut_XL_VAE/blob/main/
105
  def load_and_prepare_model(model_id):
106
  model_dtypes = {"ford442/RealVisXL_V5.0_BF16": torch.bfloat16,}
107
  dtype = model_dtypes.get(model_id, torch.bfloat16) # Default to float32 if not found
 
101
  if not negative:
102
  negative = ""
103
  return p.replace("{prompt}", positive), n + negative
104
+
105
  def load_and_prepare_model(model_id):
106
  model_dtypes = {"ford442/RealVisXL_V5.0_BF16": torch.bfloat16,}
107
  dtype = model_dtypes.get(model_id, torch.bfloat16) # Default to float32 if not found