Update main.py
Browse files
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 =
|
| 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 = {
|