Spaces:
Runtime error
Runtime error
基础模型只有一个生成图
Browse files
app.py
CHANGED
@@ -270,8 +270,6 @@ def generate_image(
|
|
270 |
generator=generator,
|
271 |
).images
|
272 |
|
273 |
-
print(f"[Debug] Output: {images}, lens of images: {len(images)}")
|
274 |
-
|
275 |
return images[0], gr.update(visible=True)
|
276 |
|
277 |
|
@@ -429,7 +427,6 @@ with gr.Blocks(css=css) as demo:
|
|
429 |
outputs=[output_image, usage_tips],
|
430 |
)
|
431 |
|
432 |
-
# print(f"[Debug] Output: {output_image}, \n[Debug] Usage_tios: {usage_tips}")
|
433 |
# gr.Examples(
|
434 |
# examples=get_example(),
|
435 |
# inputs=[face_file, prompt, style, negative_prompt],
|
|
|
270 |
generator=generator,
|
271 |
).images
|
272 |
|
|
|
|
|
273 |
return images[0], gr.update(visible=True)
|
274 |
|
275 |
|
|
|
427 |
outputs=[output_image, usage_tips],
|
428 |
)
|
429 |
|
|
|
430 |
# gr.Examples(
|
431 |
# examples=get_example(),
|
432 |
# inputs=[face_file, prompt, style, negative_prompt],
|