Spaces:
Runtime error
Runtime error
Commit
·
f76b67b
1
Parent(s):
dd4e002
changed image shape
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
| 38 |
|
| 39 |
with gr.Tab("Generate Single Image"):
|
| 40 |
gr.Markdown("## Using the Synthetic Generator\n\nSimply click 'Generate Image' to create a synthetic image. The generated image will be displayed below.")
|
| 41 |
-
gen_img = gr.Image(
|
| 42 |
gen_button = gr.Button("Generate", variant="primary")
|
| 43 |
|
| 44 |
with gr.Tab("Generate Multiple Images"):
|
|
|
|
| 38 |
|
| 39 |
with gr.Tab("Generate Single Image"):
|
| 40 |
gr.Markdown("## Using the Synthetic Generator\n\nSimply click 'Generate Image' to create a synthetic image. The generated image will be displayed below.")
|
| 41 |
+
gen_img = gr.Image( tool="select", type="numpy", label="Generated Image").style(height="256px", width="256px", rounded=True)
|
| 42 |
gen_button = gr.Button("Generate", variant="primary")
|
| 43 |
|
| 44 |
with gr.Tab("Generate Multiple Images"):
|