Ahsen Khaliq commited on
Commit
8c6195f
1 Parent(s): d32c966

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -22,12 +22,11 @@ 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", 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,
29
  description=description,
30
  article=article,
31
- enable_queue=True,
32
  examples=[['mona.jpeg',14,7,2,14]]
33
- ).launch(debug=True)
 
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=1, label="depth"),gr.inputs.Number(default=14, label="upscale")
26
  ],
27
  gr.outputs.Image(type="file", label="Output"),
28
  title=title,
29
  description=description,
30
  article=article,
 
31
  examples=[['mona.jpeg',14,7,2,14]]
32
+ ).launch(enable_queue=True)