Ashrafb commited on
Commit
bc3c5d0
·
verified ·
1 Parent(s): 210954c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -70,7 +70,7 @@ 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 = query({
74
  "inputs": "Astronaut riding a horse",
75
  })
76
  payload = {
 
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
  })
76
  payload = {