charleselena commited on
Commit
dd7bef7
1 Parent(s): f31fe41

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -93,10 +93,10 @@ class EndpointHandler():
93
 
94
 
95
  # hyperparamters
96
- negatice_prompt = data.pop("negative_prompt", canvas frame, (high contrast:1.2), (over saturated:1.2), (glossy:1.1), cartoon, 3d, ((disfigured)), ((bad art)), ((b&w)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))), extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), Photoshop, video game, ugly, tiling, poorly drawn hands, 3d render)
97
  num_inference_steps = data.pop("num_inference_steps", 30)
98
  guidance_scale = data.pop("guidance_scale", 9.0)
99
- negative_prompt = data.pop("negative_prompt", canvas frame, (high contrast:1.2), (over saturated:1.2), (glossy:1.1), cartoon, 3d, ((disfigured)), ((bad art)), ((b&w)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))), extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), Photoshop, video game, ugly, tiling, poorly drawn hands, 3d render)
100
  height = data.pop("height", None)
101
  width = data.pop("width", None)
102
  controlnet_conditioning_scale = data.pop("controlnet_conditioning_scale", 0.6)
 
93
 
94
 
95
  # hyperparamters
96
+ negatice_prompt = data.pop("negative_prompt", None)
97
  num_inference_steps = data.pop("num_inference_steps", 30)
98
  guidance_scale = data.pop("guidance_scale", 9.0)
99
+ negative_prompt = data.pop("negative_prompt", None)
100
  height = data.pop("height", None)
101
  width = data.pop("width", None)
102
  controlnet_conditioning_scale = data.pop("controlnet_conditioning_scale", 0.6)