Update app.py
Browse files
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(
|
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 |
)
|