Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,6 +94,8 @@ with gr.Blocks() as demo:
|
|
| 94 |
]
|
| 95 |
outputs = [gallery]
|
| 96 |
|
|
|
|
|
|
|
| 97 |
gr.on(
|
| 98 |
triggers=[
|
| 99 |
prompt.submit,
|
|
@@ -108,7 +110,6 @@ with gr.Blocks() as demo:
|
|
| 108 |
show_api=False,
|
| 109 |
trigger_mode="always_last",
|
| 110 |
)
|
| 111 |
-
generate_button = gr.Button("Generate Image")
|
| 112 |
|
| 113 |
gr.Markdown(article)
|
| 114 |
|
|
|
|
| 94 |
]
|
| 95 |
outputs = [gallery]
|
| 96 |
|
| 97 |
+
generate_button = gr.Button("Generate Image")
|
| 98 |
+
|
| 99 |
gr.on(
|
| 100 |
triggers=[
|
| 101 |
prompt.submit,
|
|
|
|
| 110 |
show_api=False,
|
| 111 |
trigger_mode="always_last",
|
| 112 |
)
|
|
|
|
| 113 |
|
| 114 |
gr.Markdown(article)
|
| 115 |
|