Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def augment_images(image_file, num_duplicates):
|
|
39 |
|
40 |
iface = gr.Interface(
|
41 |
fn=augment_images,
|
42 |
-
inputs=[gr.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."
|
|
|
39 |
|
40 |
iface = gr.Interface(
|
41 |
fn=augment_images,
|
42 |
+
inputs=[gr.Image(label="Upload Image", source="upload"), gr.Slider(minimum=1, maximum=20, default=5, label="Number of Augmented Samples")],
|
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."
|