dwkurnie
commited on
Commit
·
593e145
1
Parent(s):
2a6bb95
app.py
CHANGED
@@ -96,7 +96,7 @@ interface_image = gr.Interface(
|
|
96 |
)
|
97 |
|
98 |
inputs_video = gr.Video(label="Input Video")
|
99 |
-
outputs_video = gr.
|
100 |
interface_video = gr.Interface(
|
101 |
fn=show_preds_video,
|
102 |
inputs=inputs_video,
|
@@ -106,8 +106,8 @@ interface_video = gr.Interface(
|
|
106 |
cache_examples=False,
|
107 |
)
|
108 |
|
109 |
-
inputs_webcam = gr.
|
110 |
-
outputs_webcam = gr.
|
111 |
interface_webcam = gr.Interface(
|
112 |
fn=show_preds_webcam,
|
113 |
inputs=inputs_webcam,
|
|
|
96 |
)
|
97 |
|
98 |
inputs_video = gr.Video(label="Input Video")
|
99 |
+
outputs_video = gr.Image(label="Output Image")
|
100 |
interface_video = gr.Interface(
|
101 |
fn=show_preds_video,
|
102 |
inputs=inputs_video,
|
|
|
106 |
cache_examples=False,
|
107 |
)
|
108 |
|
109 |
+
inputs_webcam = gr.Image(sources="webcam", streaming=True)
|
110 |
+
outputs_webcam = gr.Image(label="Output Image")
|
111 |
interface_webcam = gr.Interface(
|
112 |
fn=show_preds_webcam,
|
113 |
inputs=inputs_webcam,
|