Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def display_outputs(input_image):
|
|
20 |
|
21 |
with gr.Blocks(title=title, theme='huggingface') as demo_app:
|
22 |
with gr.Column():
|
23 |
-
input_image = gr.Image(type='pil', label='TAKE A PICTURE OF THE TRAY',
|
24 |
output_comments = gr.Textbox(label='Comments')
|
25 |
input_image.change(display_outputs, inputs=[input_image], outputs=[output_comments])
|
26 |
|
|
|
20 |
|
21 |
with gr.Blocks(title=title, theme='huggingface') as demo_app:
|
22 |
with gr.Column():
|
23 |
+
input_image = gr.Image(type='pil', label='TAKE A PICTURE OF THE TRAY', sources=['webcam'])
|
24 |
output_comments = gr.Textbox(label='Comments')
|
25 |
input_image.change(display_outputs, inputs=[input_image], outputs=[output_comments])
|
26 |
|