Ahsen Khaliq
commited on
Commit
·
b86cf70
1
Parent(s):
b7f7e07
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import gradio as gr
|
|
2 |
from skimage import io
|
3 |
from pyxelate import Pyx, Pal
|
4 |
|
5 |
-
|
6 |
def pixel(image,downsample,palette,depth,upscale):
|
7 |
image = io.imread(image.name)
|
8 |
downsample_by = int(downsample) # new image will be 1/14th of the original in size
|
|
|
2 |
from skimage import io
|
3 |
from pyxelate import Pyx, Pal
|
4 |
|
|
|
5 |
def pixel(image,downsample,palette,depth,upscale):
|
6 |
image = io.imread(image.name)
|
7 |
downsample_by = int(downsample) # new image will be 1/14th of the original in size
|