Rahatara commited on
Commit
5a3f652
·
verified ·
1 Parent(s): 43c52cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(shape=None, 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."
 
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."