Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,10 @@ def predict(image):
|
|
18 |
|
19 |
gr.Interface(
|
20 |
predict,
|
21 |
-
inputs = gr.Image(
|
22 |
outputs = gr.Label(num_top_classes=5),
|
23 |
-
title="
|
24 |
).launch(share="True")
|
25 |
|
|
|
|
|
|
18 |
|
19 |
gr.Interface(
|
20 |
predict,
|
21 |
+
inputs = gr.Image(sources=["webcam"], streaming=True)
|
22 |
outputs = gr.Label(num_top_classes=5),
|
23 |
+
title="Show your face ?",
|
24 |
).launch(share="True")
|
25 |
|
26 |
+
#inputs = gr.Image(label="Upload Any room photo", type = "filepath"),
|
27 |
+
|