Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ pipe = StableDiffusionPipeline.from_pretrained("AkiKagura/mkgen-diffusion", use_
|
|
22 |
pipe.safety_checker = empty_checker
|
23 |
pipe.to(device)
|
24 |
|
25 |
-
gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[
|
26 |
|
27 |
def infer(prompt):
|
28 |
|
|
|
22 |
pipe.safety_checker = empty_checker
|
23 |
pipe.to(device)
|
24 |
|
25 |
+
gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[1], height="auto")
|
26 |
|
27 |
def infer(prompt):
|
28 |
|