Alex Gonzalez commited on
Commit ·
5e473a8
1
Parent(s): e5a7303
Remove Live
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def predict(value) -> str:
|
|
| 20 |
with gr.Blocks() as demo:
|
| 21 |
with gr.Row():
|
| 22 |
with gr.Column():
|
| 23 |
-
input_img = gr.Image(label="Input", sources="webcam"
|
| 24 |
with gr.Column():
|
| 25 |
output_lbl = gr.Label(value="Output", label="Expression Prediction")
|
| 26 |
input_img.change(fn=predict, inputs=input_img, outputs=output_lbl)
|
|
|
|
| 20 |
with gr.Blocks() as demo:
|
| 21 |
with gr.Row():
|
| 22 |
with gr.Column():
|
| 23 |
+
input_img = gr.Image(label="Input", sources="webcam")
|
| 24 |
with gr.Column():
|
| 25 |
output_lbl = gr.Label(value="Output", label="Expression Prediction")
|
| 26 |
input_img.change(fn=predict, inputs=input_img, outputs=output_lbl)
|