Spaces:
Runtime error
Runtime error
redpeacock78
commited on
Commit
·
51d51b1
1
Parent(s):
435d5da
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ with gr.Blocks() as anything:
|
|
9 |
prompt = gr.Textbox(label="Prompt")
|
10 |
ngPrompt = gr.Textbox(label="Negative Prompt")
|
11 |
btn = gr.Button(value="Submit")
|
12 |
-
|
|
|
13 |
|
14 |
anything.launch()
|
|
|
9 |
prompt = gr.Textbox(label="Prompt")
|
10 |
ngPrompt = gr.Textbox(label="Negative Prompt")
|
11 |
btn = gr.Button(value="Submit")
|
12 |
+
image = gr.Image()
|
13 |
+
btn.click(api, inputs=[prompt, ngPrompt], outputs=image)
|
14 |
|
15 |
anything.launch()
|