Update app.py
Browse files
app.py
CHANGED
@@ -39,8 +39,8 @@ def augment_images(image_file, num_duplicates):
|
|
39 |
|
40 |
iface = gr.Interface(
|
41 |
fn=augment_images,
|
42 |
-
inputs=[gr.Image(label="Upload Image"
|
43 |
-
outputs=gr.File(label="Download Augmented Images"),
|
44 |
title="Image Augmentation App",
|
45 |
description="Upload an image to generate augmented versions. Select the number of augmented duplicates you want for the image."
|
46 |
)
|
|
|
39 |
|
40 |
iface = gr.Interface(
|
41 |
fn=augment_images,
|
42 |
+
inputs=[gr.inputs.Image(label="Upload Image"), gr.inputs.Slider(minimum=1, maximum=20, default=5, label="Number of Augmented Samples")],
|
43 |
+
outputs=gr.outputs.File(label="Download Augmented Images"),
|
44 |
title="Image Augmentation App",
|
45 |
description="Upload an image to generate augmented versions. Select the number of augmented duplicates you want for the image."
|
46 |
)
|