debojit01 commited on
Commit
78eb968
·
verified ·
1 Parent(s): 00915b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def generate_images(digit):
51
  iface = gr.Interface(
52
  fn=generate_images,
53
  inputs=gr.Dropdown(choices=[str(i) for i in range(10)], label="Choose a digit (ignored for now)"),
54
- outputs=[gr.Image(shape=(28,28), image_mode='L') for _ in range(5)],
55
  title="Handwritten Digit Generator",
56
  description="Select a digit (0–9) and generate 5 handwritten-style digits using a VAE trained on MNIST."
57
  )
 
51
  iface = gr.Interface(
52
  fn=generate_images,
53
  inputs=gr.Dropdown(choices=[str(i) for i in range(10)], label="Choose a digit (ignored for now)"),
54
+ outputs=[gr.Image(image_mode='L') for _ in range(5)],
55
  title="Handwritten Digit Generator",
56
  description="Select a digit (0–9) and generate 5 handwritten-style digits using a VAE trained on MNIST."
57
  )