LouisLi commited on
Commit
9ea9b8c
·
verified ·
1 Parent(s): 8ed8e45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -484,7 +484,7 @@ class ImageSketcher(gr.Image):
484
  is_template = True # Magic to make this work with gradio.Block, don't remove unless you know what you're doing.
485
 
486
  def __init__(self, **kwargs):
487
- super().__init__(tool="sketch", **kwargs)
488
 
489
  def preprocess(self, x):
490
  if self.tool == 'sketch' and self.source in ["upload", "webcam"]:
 
484
  is_template = True # Magic to make this work with gradio.Block, don't remove unless you know what you're doing.
485
 
486
  def __init__(self, **kwargs):
487
+ super().__init__(**kwargs)
488
 
489
  def preprocess(self, x):
490
  if self.tool == 'sketch' and self.source in ["upload", "webcam"]: