ankush-003 commited on
Commit
c664ffc
·
1 Parent(s): d92c3d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
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.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=256, width=256, rounded=True)
42
- gen_button = gr.Button("Generate", variant="primary")
 
 
 
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(