Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ with image_blocks as demo:
|
|
| 140 |
btn = gr.Button("Generate", elem_id="run_button")
|
| 141 |
|
| 142 |
with gr.Column():
|
| 143 |
-
image_out = gr.Image(label="Output", elem_id="output-img", height=
|
| 144 |
btn.click(fn=predict, inputs=[prompt, negative_prompt, guidance_scale, steps, model,scheduler, lora, lora_weight],
|
| 145 |
outputs=[image_out], api_name='run')
|
| 146 |
prompt.submit(fn=predict, inputs=[prompt, negative_prompt, guidance_scale, steps, model,scheduler, lora, lora_weight],
|
|
|
|
| 140 |
btn = gr.Button("Generate", elem_id="run_button")
|
| 141 |
|
| 142 |
with gr.Column():
|
| 143 |
+
image_out = gr.Image(label="Output", elem_id="output-img", height=1024, width=512)
|
| 144 |
btn.click(fn=predict, inputs=[prompt, negative_prompt, guidance_scale, steps, model,scheduler, lora, lora_weight],
|
| 145 |
outputs=[image_out], api_name='run')
|
| 146 |
prompt.submit(fn=predict, inputs=[prompt, negative_prompt, guidance_scale, steps, model,scheduler, lora, lora_weight],
|