Update app.py
Browse files
app.py
CHANGED
@@ -79,13 +79,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
79 |
btn = gr.Button("Generate image").style(full_width=False)
|
80 |
|
81 |
gallery = gr.Image(
|
82 |
-
label="Generated image"
|
83 |
-
type='pil',
|
84 |
-
show_label = False,
|
85 |
-
container = False,
|
86 |
-
scale =0,
|
87 |
-
width = 32, # Use the full view width
|
88 |
-
height = 32).style(full_width=False) # Use the full view height
|
89 |
btn.click(gr_generate_images, [text], gallery)
|
90 |
gr.Examples(examples, inputs=[text])
|
91 |
gr.HTML(
|
|
|
79 |
btn = gr.Button("Generate image").style(full_width=False)
|
80 |
|
81 |
gallery = gr.Image(
|
82 |
+
label="Generated image") # Use the full view height
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
btn.click(gr_generate_images, [text], gallery)
|
84 |
gr.Examples(examples, inputs=[text])
|
85 |
gr.HTML(
|