khartist29 commited on
Commit
bd809d0
·
1 Parent(s): c16f470

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -17,7 +17,7 @@ demo = gr.Blocks()
17
  with demo:
18
  with gr.Tab("Face Detection"):
19
  with gr.Row():
20
- image_input = gr.Image(type = "numpy")
21
  image_output = gr.Image()
22
  image_button = gr.Button("Detect")
23
 
@@ -25,8 +25,8 @@ with demo:
25
 
26
  with gr.Tab("Verification"):
27
  with gr.Row():
28
- imgToVerify = gr.Image(type = "numpy")
29
- imgToVerify2 = gr.Image(type = "numpy")
30
  verifyOutput = gr.Textbox()
31
  verifyImgButton = gr.Button("Verify with Images input")
32
 
@@ -34,7 +34,7 @@ with demo:
34
 
35
  with gr.Tab("Face Analysis"):
36
  with gr.Row():
37
- imgToAnalyze = gr.Image(type = "numpy")
38
  analyzeData = gr.JSON()
39
  analyzeImgButton = gr.Button("Analyze this image")
40
 
 
17
  with demo:
18
  with gr.Tab("Face Detection"):
19
  with gr.Row():
20
+ image_input = gr.Image()
21
  image_output = gr.Image()
22
  image_button = gr.Button("Detect")
23
 
 
25
 
26
  with gr.Tab("Verification"):
27
  with gr.Row():
28
+ imgToVerify = gr.Image()
29
+ imgToVerify2 = gr.Image()
30
  verifyOutput = gr.Textbox()
31
  verifyImgButton = gr.Button("Verify with Images input")
32
 
 
34
 
35
  with gr.Tab("Face Analysis"):
36
  with gr.Row():
37
+ imgToAnalyze = gr.Image()
38
  analyzeData = gr.JSON()
39
  analyzeImgButton = gr.Button("Analyze this image")
40