Spaces:
Runtime error
Runtime error
Commit
·
d7a28ac
1
Parent(s):
6141f7a
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,6 @@ with gr.Blocks() as anything:
|
|
13 |
ngPrompt = gr.Textbox(label="Negative Prompt")
|
14 |
btn = gr.Button(value="Submit")
|
15 |
image = gr.Image()
|
16 |
-
btn.click(fn=
|
17 |
|
18 |
anything.launch()
|
|
|
13 |
ngPrompt = gr.Textbox(label="Negative Prompt")
|
14 |
btn = gr.Button(value="Submit")
|
15 |
image = gr.Image()
|
16 |
+
btn.click(fn=api, inputs=[prompt, ngPrompt], outputs=image)
|
17 |
|
18 |
anything.launch()
|