Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,9 +102,14 @@ with gr.Blocks(title=TITLE) as demo:
|
|
| 102 |
with gr.Row():
|
| 103 |
with gr.Column(scale=6):
|
| 104 |
cam = gr.Image(
|
| 105 |
-
sources=["webcam"],
|
|
|
|
| 106 |
webcam_options=gr.WebcamOptions(mirror=True),
|
| 107 |
-
label=
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
)
|
| 109 |
with gr.Column(scale=6):
|
| 110 |
model_id = gr.Dropdown(
|
|
|
|
| 102 |
with gr.Row():
|
| 103 |
with gr.Column(scale=6):
|
| 104 |
cam = gr.Image(
|
| 105 |
+
sources=["webcam"],
|
| 106 |
+
streaming=True,
|
| 107 |
webcam_options=gr.WebcamOptions(mirror=True),
|
| 108 |
+
label=None,
|
| 109 |
+
show_label=False,
|
| 110 |
+
type="numpy",
|
| 111 |
+
show_download_button=False,
|
| 112 |
+
height=520
|
| 113 |
)
|
| 114 |
with gr.Column(scale=6):
|
| 115 |
model_id = gr.Dropdown(
|