Besimplestudio commited on
Commit
bdd7a66
·
verified ·
1 Parent(s): 128db64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def sketch_interface(image, blur_strength, brightness, contrast):
61
  interface = gr.Interface(
62
  fn=sketch_interface,
63
  inputs=[
64
- gr.Image(type="pil", label="Upload Image", image_mode="RGB", shape=(256, 256)), # Support for various formats
65
  gr.Slider(1, 51, step=2, label="Blur Strength", value=21),
66
  gr.Slider(-100, 100, label="Brightness", value=0),
67
  gr.Slider(1, 3, step=0.1, label="Contrast", value=1)
 
61
  interface = gr.Interface(
62
  fn=sketch_interface,
63
  inputs=[
64
+ gr.Image(type="pil", label="Upload Image", image_mode="RGB"), # Support for various formats
65
  gr.Slider(1, 51, step=2, label="Blur Strength", value=21),
66
  gr.Slider(-100, 100, label="Brightness", value=0),
67
  gr.Slider(1, 3, step=0.1, label="Contrast", value=1)