Spaces:
Build error
Build error
ratio = { | |
'Square (1:1)': '1:1', | |
'Standard TV (4:3)': '4:3', | |
'35mm Film (3:2)': '3:2', | |
'Portrait (2:3)': '2:3', | |
'Widescreen TV (16:9)': '16:9', | |
'Portrait Wide (9:16)': '9:16', | |
'Medium Format (5:4)': '5:4', | |
'Portrait Medium (4:5)': '4:5', | |
'Panoramic (3:1)': '3:1', | |
'Portrait Standard (3:4)': '3:4' | |
} | |
quality = [ | |
'Original', | |
'Enhanced', | |
'Enhanced and Upscaled' | |
] | |
negative_list = [ | |
'hands', | |
'nsfw', | |
'naked', | |
'jpeg', | |
'ugly', | |
'tiling', | |
'poorly drawn hands', | |
'poorly drawn feet', | |
'poorly drawn face', | |
'out of frame', | |
'extra limbs', | |
'disfigured', | |
'deformed', | |
'body out of frame', | |
'bad anatomy', | |
'watermark', | |
'signature', | |
'cut off', | |
'low contrast', | |
'underexposed', | |
'overexposed', | |
'bad art', | |
'beginner', | |
'amateur', | |
'distorted face' | |
] | |
negative_v1 = ', '.join(negative_list) |