Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -222,8 +222,8 @@ with gr.Tab(label="Generate Image"):
|
|
| 222 |
examples = examples,
|
| 223 |
inputs = [text_prompt],
|
| 224 |
)
|
| 225 |
-
|
| 226 |
-
|
| 227 |
|
| 228 |
with gr.Tab("ℹ️ Tips"):
|
| 229 |
with gr.Row():
|
|
|
|
| 222 |
examples = examples,
|
| 223 |
inputs = [text_prompt],
|
| 224 |
)
|
| 225 |
+
# Bind the button to the query function with the added width and height inputs
|
| 226 |
+
text_button.click(query, inputs=[text_prompt, negative_prompt, steps, cfg, method, seed, strength, width, height], outputs=img_output)
|
| 227 |
|
| 228 |
with gr.Tab("ℹ️ Tips"):
|
| 229 |
with gr.Row():
|