Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files1014 unmodified lines10151016101710181018101910201021102210231014 unmodified lines val = re.sub(r'<[^>]+>', '', val) # Delete html and loras print("Removed LoRA written in the prompt") if key in ["prompt", "neg_prompt"]: val = re.sub(r'\s+', ' ', re.sub(r',+', ',', val)).strip() val = re.sub( r"[^\S\r\n]+", " ", re.sub(r"[ \t]*,[ \t,]*", ", ", val) ).strip() if key in ["Steps", "width", "height", "Seed", "Hires steps", "Image resolution"]: val = int(val) if key == "FreeU":app.py+3-1