Rahatara commited on
Commit
afa86d0
·
verified ·
1 Parent(s): 7dbe58c

Update app.py

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