Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,11 +82,11 @@ def hi():
|
|
82 |
def snap(image):
|
83 |
return image
|
84 |
demo = gr.Interface(
|
85 |
-
snap,
|
86 |
-
|
87 |
-
|
88 |
if __name__ == "__main__":
|
89 |
-
|
90 |
|
91 |
|
92 |
|
|
|
82 |
def snap(image):
|
83 |
return image
|
84 |
demo = gr.Interface(
|
85 |
+
snap,inputs=gr.inputs.Image(source="webcam", streaming=True,tool=None),outputs="image")
|
86 |
+
demp.launch()
|
87 |
+
|
88 |
if __name__ == "__main__":
|
89 |
+
hi()
|
90 |
|
91 |
|
92 |
|