Glainez commited on
Commit
49294ae
1 Parent(s): e4febf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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')