Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
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)
|