alfredplpl
commited on
Commit
•
844032f
1
Parent(s):
09dd938
Update app.py
Browse files
app.py
CHANGED
@@ -201,7 +201,7 @@ with gr.Blocks(css=css) as demo:
|
|
201 |
|
202 |
outputs = [image_out, error_output]
|
203 |
prompt.submit(inference, inputs=inputs, outputs=outputs)
|
204 |
-
generate.click(inference, inputs=inputs, outputs=outputs)
|
205 |
|
206 |
gr.HTML("""
|
207 |
<div style="border-top: 1px solid #303030;">
|
|
|
201 |
|
202 |
outputs = [image_out, error_output]
|
203 |
prompt.submit(inference, inputs=inputs, outputs=outputs)
|
204 |
+
generate.click(inference, inputs=inputs, outputs=outputs,api_name="generate")
|
205 |
|
206 |
gr.HTML("""
|
207 |
<div style="border-top: 1px solid #303030;">
|