Spaces:
Runtime error
Runtime error
Update gradio_demos/modules.py
Browse files- 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")
|