Update app.py
Browse files
app.py
CHANGED
@@ -21,14 +21,7 @@ def infer(color_prompt, dress_type_prompt, design_prompt, text):
|
|
21 |
payload = {
|
22 |
"inputs": full_prompt,
|
23 |
"parameters": {
|
24 |
-
"negative_prompt": "(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities:1.3), (Poor Fit, ill-fitting, awkward proportions, baggy where it shouldn't be, tight in wrong places"
|
25 |
-
Bad Texture, low-quality fabric, wrinkled, rough texture, pixelated details, artificial shine,
|
26 |
-
Cluttered Design, overly busy, too many patterns, excessive contrast, distracting elements,
|
27 |
-
Outdated Fashion, old-fashioned, style(unless intentional), outdated trends, dull colors,
|
28 |
-
Bad Composition, misaligned prints, asymmetrical in an unintentional way, weird placement of logos,
|
29 |
-
Cheap Look, plastic-like fabric, low-quality print, faded colors, generic fast fashion,
|
30 |
-
Unrealistic Details, floating textures, distorted logos, unnatural fabric folds,
|
31 |
-
Unwanted Features, holes, rips, stains, unfinished seams, torn edges), (",
|
32 |
"num_inference_steps": 30,
|
33 |
"scheduler": "DPMSolverMultistepScheduler"
|
34 |
},
|
|
|
21 |
payload = {
|
22 |
"inputs": full_prompt,
|
23 |
"parameters": {
|
24 |
+
"negative_prompt": "(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities:1.3), (Poor Fit, ill-fitting, awkward proportions, baggy where it shouldn't be, tight in wrong places, Bad Texture, low-quality fabric, wrinkled, rough texture, pixelated details, artificial shine, Cluttered Design, overly busy, too many patterns, excessive contrast, distracting elements, Outdated Fashion, old-fashioned, style(unless intentional), outdated trends, dull colors, Bad Composition, misaligned prints, asymmetrical in an unintentional way, weird placement of logos, Cheap Look, plastic-like fabric, low-quality print, faded colors, generic fast fashion, Unrealistic Details, floating textures, distorted logos, unnatural fabric folds, Unwanted Features, holes, rips, stains, unfinished seams, torn edges)",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"num_inference_steps": 30,
|
26 |
"scheduler": "DPMSolverMultistepScheduler"
|
27 |
},
|