KKNTR commited on
Commit
63d64db
·
verified ·
1 Parent(s): 42d8cf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -249,12 +249,6 @@ def generate(prompt, negative_prompt, width, height, random_res, selected_style)
249
  # Expandataan scratchpad-tagit
250
  prompt = apply_scratchpad(prompt)
251
 
252
- # Valitaan tyyli-LoRA ja lisätään triggeri
253
- lora_addition = {}
254
- if selected_style != "None" and selected_style in lora_styles:
255
- lora_path, lora_strength, lora_trigger = lora_styles[selected_style]
256
- prompt = f"{lora_trigger}, {prompt}"
257
- lora_addition[lora_path] = lora_strength
258
 
259
  # Ladataan pysyvät + tyyli-LoRA yhteen
260
  all_loras = {
 
249
  # Expandataan scratchpad-tagit
250
  prompt = apply_scratchpad(prompt)
251
 
 
 
 
 
 
 
252
 
253
  # Ladataan pysyvät + tyyli-LoRA yhteen
254
  all_loras = {