PanagiotaMoraiti commited on
Commit
9f03d2f
·
verified ·
1 Parent(s): ec492a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -18,10 +18,9 @@ enable_queue=True
18
 
19
  gr.Interface(
20
  fn=predict,
21
- inputs=[
22
- gr.inputs.Image(shape=(512, 512)),
23
  gr.Image(source="webcam", shape=(512, 512), label="Capture from Webcam")
24
- ]
25
  outputs=gr.outputs.Label(num_top_classes=4),
26
  title=title,
27
  description=description,
 
18
 
19
  gr.Interface(
20
  fn=predict,
21
+ inputs=gr.inputs.Image(shape=(512, 512)),
 
22
  gr.Image(source="webcam", shape=(512, 512), label="Capture from Webcam")
23
+ ],
24
  outputs=gr.outputs.Label(num_top_classes=4),
25
  title=title,
26
  description=description,