Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ with gr.Blocks() as demo:
|
|
87 |
output = gr.Image(label="Style-Aligned ControlNet",type='pil')
|
88 |
btn = gr.Button("Generate", size='sm')
|
89 |
|
90 |
-
btn.click(fn=
|
91 |
|
92 |
|
93 |
demo.launch()
|
|
|
87 |
output = gr.Image(label="Style-Aligned ControlNet",type='pil')
|
88 |
btn = gr.Button("Generate", size='sm')
|
89 |
|
90 |
+
btn.click(fn=style_aligned_controlnet, inputs=[ref_prompt, prompt, depth_map], outputs=output, api_name="style_aligned_controlnet")
|
91 |
|
92 |
|
93 |
demo.launch()
|