Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -121,8 +121,8 @@ with image_blocks as demo:
|
|
121 |
|
122 |
|
123 |
|
124 |
-
btn.click(fn=predict, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength
|
125 |
-
prompt.submit(fn=predict, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength
|
126 |
|
127 |
gr.Examples(
|
128 |
examples=[
|
|
|
121 |
|
122 |
|
123 |
|
124 |
+
btn.click(fn=predict, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength], outputs=[image_out], api_name='run')
|
125 |
+
prompt.submit(fn=predict, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength], outputs=[image_out])
|
126 |
|
127 |
gr.Examples(
|
128 |
examples=[
|