Spaces:
Running
Running
Update app.py
Browse filesimage option added
app.py
CHANGED
@@ -16,7 +16,7 @@ title = "Facial Identity Recognition System"
|
|
16 |
|
17 |
interface = gr.Interface(fn=predict,
|
18 |
inputs= [gr.Image(type="pil", source="webcam"),
|
19 |
-
gr.Image(
|
20 |
outputs= [gr.Number(label="Similarity"),
|
21 |
gr.Textbox(label="Message")]
|
22 |
)
|
|
|
16 |
|
17 |
interface = gr.Interface(fn=predict,
|
18 |
inputs= [gr.Image(type="pil", source="webcam"),
|
19 |
+
gr.Image(shape=(200, 200)],
|
20 |
outputs= [gr.Number(label="Similarity"),
|
21 |
gr.Textbox(label="Message")]
|
22 |
)
|