Spaces:
Running
Running
Commit
·
24ee684
1
Parent(s):
ab02d39
Update app.py
Browse files
app.py
CHANGED
@@ -19,10 +19,11 @@ def pixel(image,downsample,palette,depth,upscale):
|
|
19 |
title = "Imagen a Pixel Art"
|
20 |
description = ""
|
21 |
article = ""
|
22 |
-
|
|
|
|
|
23 |
gr.Interface(
|
24 |
pixel,
|
25 |
-
css="footer {visibility: hidden}",
|
26 |
[gr.inputs.Image(type="file", label="Input", shape=(512,512)),gr.inputs.Number(default=14, label="downsample by"),gr.inputs.Number(default=7, label="palette"),gr.inputs.Number(default=1, label="depth"),gr.inputs.Number(default=14, label="upscale")
|
27 |
],
|
28 |
gr.outputs.Image(type="file", label="Output"),
|
|
|
19 |
title = "Imagen a Pixel Art"
|
20 |
description = ""
|
21 |
article = ""
|
22 |
+
gr.Interface(
|
23 |
+
css="footer {visibility: hidden}"
|
24 |
+
)
|
25 |
gr.Interface(
|
26 |
pixel,
|
|
|
27 |
[gr.inputs.Image(type="file", label="Input", shape=(512,512)),gr.inputs.Number(default=14, label="downsample by"),gr.inputs.Number(default=7, label="palette"),gr.inputs.Number(default=1, label="depth"),gr.inputs.Number(default=14, label="upscale")
|
28 |
],
|
29 |
gr.outputs.Image(type="file", label="Output"),
|