haakohu commited on
Commit
9136547
1 Parent(s): 332fcd7

Update gradio_demos/modules.py

Browse files
Files changed (1) hide show
  1. gradio_demos/modules.py +1 -1
gradio_demos/modules.py CHANGED
@@ -194,7 +194,7 @@ class ExampleDemo(WebcamDemo):
194
  self.anonymizer = anonymizer
195
  kwargs = dict(source=source)
196
  if source is None:
197
- kwargs.pop(source)
198
  with gradio.Row():
199
  input_image = gradio.Image(type="pil", **kwargs)
200
  output_image = gradio.Image(type="numpy", label="Output")
 
194
  self.anonymizer = anonymizer
195
  kwargs = dict(source=source)
196
  if source is None:
197
+ kwargs.pop("source")
198
  with gradio.Row():
199
  input_image = gradio.Image(type="pil", **kwargs)
200
  output_image = gradio.Image(type="numpy", label="Output")