Ashrafb commited on
Commit
eec6016
1 Parent(s): a8dc1f0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -7
main.py CHANGED
@@ -70,13 +70,6 @@ def generate_image(inputs, is_negative, steps, cfg_scale, seed):
70
  request_counter += 1
71
  timestamp = f"{time.time()}_{request_counter}"
72
  prompt_with_noise = add_random_noise(inputs) + f" - {timestamp}"
73
- image_bytes = generate_image({
74
- "inputs": "Astronaut riding a horse",
75
- "is_negative" : "flurry" ,
76
- "steps" : "int = 20" ,
77
- "cfg_scale" : "int = 4.5" ,
78
- "seed" : "int = None"
79
- })
80
  payload = {
81
  "inputs": prompt_with_noise,
82
  "is_negative": is_negative,
 
70
  request_counter += 1
71
  timestamp = f"{time.time()}_{request_counter}"
72
  prompt_with_noise = add_random_noise(inputs) + f" - {timestamp}"
 
 
 
 
 
 
 
73
  payload = {
74
  "inputs": prompt_with_noise,
75
  "is_negative": is_negative,