clementrof commited on
Commit
fe27883
1 Parent(s): 84420dc

Update app3.py

Browse files
Files changed (1) hide show
  1. app3.py +26 -26
app3.py CHANGED
@@ -53,33 +53,33 @@ def SD_call(prompt, image_prompt, age, weight, w_w, color, hair_color,h_c_w, ha
53
  # Define your data (this could also be a JSON payload)
54
  print("SD_processing")
55
  data = {
56
- "input": {
57
- "api": {
58
- "method": "POST",
59
- "endpoint": "/sdapi/v1/txt2img"
60
- },
61
- "payload": {
62
- "override_settings": {
63
- "sd_model_checkpoint": "cyberrealistic_classicV21",
64
- "sd_vae": "vae-ft-mse-840000-ema-pruned.safetensors"
65
- },
66
- "override_settings_restore_afterwards": true,
67
- "refiner_checkpoint": "",
68
- "refiner_switch_at": 0.8,
69
- "prompt": "masterpiece, best quality, 8k, (looking at viewer:1.1), gorgeous, hot, seductive, young american woman, (eye contact:1.1), beautiful face, hyper detailed, best quality, ultra high res, white hair, photorealistic, high resolution, detailed, raw photo, 1girl, legs open, pussy, <feet GodPussy1 v4:0.4>,<lora:cumshot_49:0.9>,cum,pussy, perfect vagina",
70
- "negative_prompt": "EasyNegative, fat, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), bad anatomy, text, error, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, bad feet, poorly drawn face, bad proportions, gross proportions, ng_deepnegative_v1_75t, badhandsv5-neg, clothes",
71
- "seed": -1,
72
- "batch_size": 1,
73
- "steps": 30,
74
- "cfg_scale": 7,
75
- "width": 520,
76
- "height": 520,
77
- "sampler_name": "DPM++ SDE Karras",
78
- "sampler_index": "DPM++ SDE Karras",
79
- "restore_faces": false
 
 
80
  }
81
- }
82
- }
83
 
84
  # data = {
85
  # "input": {
 
53
  # Define your data (this could also be a JSON payload)
54
  print("SD_processing")
55
  data = {
56
+ "input": {
57
+ "api": {
58
+ "method": "POST",
59
+ "endpoint": "/sdapi/v1/txt2img"
60
+ },
61
+ "payload": {
62
+ "override_settings": {
63
+ "sd_model_checkpoint": "cyberrealistic_classicV21",
64
+ "sd_vae": "vae-ft-mse-840000-ema-pruned.safetensors"
65
+ },
66
+ "override_settings_restore_afterwards": True,
67
+ "refiner_checkpoint": "",
68
+ "refiner_switch_at": 0.8,
69
+ "prompt": f"{total_prompt}, {positive}",
70
+ "negative_prompt": f"EasyNegative, fat, paintings, sketches, lowres, ((monochrome)), ((grayscale)), bad anatomy, text, error, cropped, signature, watermark, username, blurry, bad feet, poorly drawn face, bad proportions, gross proportions, ng_deepnegative_v1_75t, badhandsv5-neg, {negative}",
71
+ "seed": -1,
72
+ "batch_size": 1,
73
+ "steps": 30,
74
+ "cfg_scale": 7,
75
+ "width": 520,
76
+ "height": 520,
77
+ "sampler_name": "DPM++ SDE Karras",
78
+ "sampler_index": "DPM++ SDE Karras",
79
+ "restore_faces": False
80
+ }
81
+ }
82
  }
 
 
83
 
84
  # data = {
85
  # "input": {