Spaces:
Running
Running
Use cached output to reduce load on the server
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ with gr.Blocks() as demo:
|
|
64 |
]
|
65 |
|
66 |
# 添加示例到界面
|
67 |
-
gr.Examples(examples, inputs=[prompt, aspect_ratio, model, negative_prompt,
|
68 |
generate_btn.click(fn=generate_image,
|
69 |
inputs=[api_key, prompt, aspect_ratio, model, negative_prompt, seed],
|
70 |
outputs=output)
|
|
|
64 |
]
|
65 |
|
66 |
# 添加示例到界面
|
67 |
+
gr.Examples(examples, inputs=[prompt, aspect_ratio, model, negative_prompt,output])
|
68 |
generate_btn.click(fn=generate_image,
|
69 |
inputs=[api_key, prompt, aspect_ratio, model, negative_prompt, seed],
|
70 |
outputs=output)
|