Ahsen Khaliq
commited on
Commit
·
d32c966
1
Parent(s):
2a40baf
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ article = "<p style='text-align: center'><a href='https://github.com/sedthh/pyxe
|
|
| 22 |
|
| 23 |
gr.Interface(
|
| 24 |
pixel,
|
| 25 |
-
[gr.inputs.Image(type="file", label="Input",
|
| 26 |
],
|
| 27 |
gr.outputs.Image(type="file", label="Output"),
|
| 28 |
title=title,
|
|
|
|
| 22 |
|
| 23 |
gr.Interface(
|
| 24 |
pixel,
|
| 25 |
+
[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=2, label="depth"),gr.inputs.Number(default=14, label="upscale")
|
| 26 |
],
|
| 27 |
gr.outputs.Image(type="file", label="Output"),
|
| 28 |
title=title,
|