Update main.py
Browse files
main.py
CHANGED
@@ -59,10 +59,7 @@ async def generate_image(prompt_input: PromptInput):
|
|
59 |
time.sleep(2)
|
60 |
queue.put(prompt_with_noise)
|
61 |
output_dict = proc1(prompt_with_noise)
|
62 |
-
output1 = output_dict['output'][0]
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
return {"image": output1}
|
67 |
|
68 |
# Serve the HTML frontend
|
|
|
59 |
time.sleep(2)
|
60 |
queue.put(prompt_with_noise)
|
61 |
output_dict = proc1(prompt_with_noise)
|
62 |
+
output1 = output_dict['output'][0]
|
|
|
|
|
|
|
63 |
return {"image": output1}
|
64 |
|
65 |
# Serve the HTML frontend
|