Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def display_outputs(input_image):
|
|
18 |
except Exception as e:
|
19 |
return f"Error: {e}"
|
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')
|
|
|
18 |
except Exception as e:
|
19 |
return f"Error: {e}"
|
20 |
|
21 |
+
with gr.Blocks(title=title, theme='huggingface', js='select_back_camera.js') 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')
|