Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -26,7 +26,7 @@ def infer(
|
|
26 |
num_inference_steps=30,
|
27 |
size=768,
|
28 |
guidance_scale=7.0,
|
29 |
-
seed
|
30 |
):
|
31 |
|
32 |
conditioning_image = Image.fromarray(conditioning_image)
|
@@ -122,6 +122,8 @@ with gr.Blocks() as demo:
|
|
122 |
["three people walking in an alleyway with hats and pants", "monochrome", "./conditioning_images/conditioning_image_2.jpg"],
|
123 |
["an anime character, natural skin", "monochrome, blue skin, grayscale", "./conditioning_images/conditioning_image_3.jpg"],
|
124 |
["a man in a black suit", "monochrome", "./conditioning_images/conditioning_image_4.jpg"],
|
|
|
|
|
125 |
],
|
126 |
inputs=[
|
127 |
prompt, negative_prompt, conditioning_image
|
|
|
26 |
num_inference_steps=30,
|
27 |
size=768,
|
28 |
guidance_scale=7.0,
|
29 |
+
seed=1234,
|
30 |
):
|
31 |
|
32 |
conditioning_image = Image.fromarray(conditioning_image)
|
|
|
122 |
["three people walking in an alleyway with hats and pants", "monochrome", "./conditioning_images/conditioning_image_2.jpg"],
|
123 |
["an anime character, natural skin", "monochrome, blue skin, grayscale", "./conditioning_images/conditioning_image_3.jpg"],
|
124 |
["a man in a black suit", "monochrome", "./conditioning_images/conditioning_image_4.jpg"],
|
125 |
+
["the forbidden city in beijing at sunset with a reflection in the water", "monochrome", "./conditioning_images/conditioning_image_5.jpg"],
|
126 |
+
["a man in a white shirt holding his hand out in front of", "monochrome", "./conditioning_images/conditioning_image_6.jpg"],
|
127 |
],
|
128 |
inputs=[
|
129 |
prompt, negative_prompt, conditioning_image
|
conditioning_images/conditioning_image_5.jpg
ADDED
conditioning_images/conditioning_image_6.jpg
ADDED