Alex Gonzalez
commited on
Commit
·
e10e9b7
1
Parent(s):
3918a54
Added a Label to Gr.Label()
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ with gr.Blocks() as demo:
|
|
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=[output_lbl], time_limit=15, stream_every=0.1, concurrency_limit=30)
|
10 |
|
11 |
if __name__ == "__main__":
|
|
|
5 |
with gr.Column():
|
6 |
input_img = gr.Image(label="Input", sources="webcam")
|
7 |
with gr.Column():
|
8 |
+
output_lbl = gr.Label(value="Output", label="Expression Prediction")
|
9 |
input_img.stream(lambda s: s, inputs=[input_img], outputs=[output_lbl], time_limit=15, stream_every=0.1, concurrency_limit=30)
|
10 |
|
11 |
if __name__ == "__main__":
|