Alex Gonzalez
commited on
Commit
·
f154644
1
Parent(s):
39d5445
Changed Output to a Label
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ with gr.Blocks() as demo:
|
|
5 |
with gr.Column():
|
6 |
input_img = gr.Image(label="Input", sources="webcam")
|
7 |
with gr.Column():
|
8 |
-
|
9 |
-
input_img.stream(lambda s: s, input_img,
|
10 |
|
11 |
if __name__ == "__main__":
|
12 |
|
|
|
5 |
with gr.Column():
|
6 |
input_img = gr.Image(label="Input", sources="webcam")
|
7 |
with gr.Column():
|
8 |
+
output_lbl = gr.Label(value="Output")
|
9 |
+
input_img.stream(lambda s: s, inputs=[input_img], outputs=[text], time_limit=15, stream_every=0.1, concurrency_limit=30)
|
10 |
|
11 |
if __name__ == "__main__":
|
12 |
|