Spaces:
Runtime error
Runtime error
redpeacock78
commited on
Commit
·
435d5da
1
Parent(s):
09b04d0
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,6 @@ 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 |
-
btn.click(api, inputs=[prompt, ngPrompt])
|
13 |
|
14 |
anything.launch()
|
|
|
9 |
prompt = gr.Textbox(label="Prompt")
|
10 |
ngPrompt = gr.Textbox(label="Negative Prompt")
|
11 |
btn = gr.Button(value="Submit")
|
12 |
+
btn.click(api, inputs=[prompt, ngPrompt], gr.Image())
|
13 |
|
14 |
anything.launch()
|