Spaces:
Runtime error
Runtime error
redpeacock78
commited on
Commit
·
19585c7
1
Parent(s):
20bfbdf
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,6 @@ with gr.Blocks() as anything:
|
|
12 |
ngPrompt = gr.Textbox(label="Negative Prompt")
|
13 |
btn = gr.Button(value="Submit")
|
14 |
image = gr.Image()
|
15 |
-
btn.click(
|
16 |
|
17 |
anything.launch()
|
|
|
12 |
ngPrompt = gr.Textbox(label="Negative Prompt")
|
13 |
btn = gr.Button(value="Submit")
|
14 |
image = gr.Image()
|
15 |
+
btn.click(model, inputs=[prompt, ngPrompt], outputs=image)
|
16 |
|
17 |
anything.launch()
|