shriarul5273
commited on
Commit
·
ca90397
1
Parent(s):
7797ef3
removed image slider
Browse files
app.py
CHANGED
@@ -4,8 +4,6 @@ from PIL import Image
|
|
4 |
from skimage.util import random_noise
|
5 |
import cv2
|
6 |
|
7 |
-
# Assuming ImageSlider is a custom or extended component of Gradio
|
8 |
-
from gradio_imageslider import ImageSlider
|
9 |
|
10 |
# Function to add noise to the image
|
11 |
def add_noise(image, noise_type, mean=0, var=0.01, amount=0.05, salt_vs_pepper=0.5):
|
|
|
4 |
from skimage.util import random_noise
|
5 |
import cv2
|
6 |
|
|
|
|
|
7 |
|
8 |
# Function to add noise to the image
|
9 |
def add_noise(image, noise_type, mean=0, var=0.01, amount=0.05, salt_vs_pepper=0.5):
|