Spaces:
Runtime error
Runtime error
Commit
·
c664ffc
1
Parent(s):
d92c3d7
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,9 +37,12 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
| 37 |
gr.Markdown("""<h1 style="text-align: center;">Synthetic Image Generator</h1>""")
|
| 38 |
|
| 39 |
with gr.Tab("Generate Single Image"):
|
| 40 |
-
gr.
|
| 41 |
-
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
with gr.Tab("Generate Multiple Images"):
|
| 45 |
gr.Markdown(
|
|
|
|
| 37 |
gr.Markdown("""<h1 style="text-align: center;">Synthetic Image Generator</h1>""")
|
| 38 |
|
| 39 |
with gr.Tab("Generate Single Image"):
|
| 40 |
+
with gr.Row():
|
| 41 |
+
with gr.Column():
|
| 42 |
+
gr.Markdown("""## Using the Synthetic Image Generator\n\nSimply click 'Generate Image' to create a synthetic image.\n""")
|
| 43 |
+
gr.Image("./train.png",label="Training Image sample").style( rounded=True, scale=1)
|
| 44 |
+
gen_button = gr.Button("Generate", variant="primary")
|
| 45 |
+
gen_img = gr.Image( tool="select", type="numpy", label="Generated Image").style(height=512, width=512, rounded=True)
|
| 46 |
|
| 47 |
with gr.Tab("Generate Multiple Images"):
|
| 48 |
gr.Markdown(
|