dc086989 commited on
Commit
0f280d1
1 Parent(s): 6c54788

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -284,14 +284,12 @@ with gr.Blocks() as MiniAIdemo:
284
  im_liveness_in = gr.Image(type='filepath', height=300)
285
  gr.Examples(
286
  [
287
- # os.path.join(os.path.dirname(__file__), "data/images/liveness/f_fake_andr_mask.jpg"),
288
  os.path.join(os.path.dirname(__file__), "images/liveness/f_real_andr.jpg"),
289
  os.path.join(os.path.dirname(__file__), "images/liveness/f_fake_andr_mask3d.jpg"),
290
  os.path.join(os.path.dirname(__file__), "images/liveness/f_fake_andr_monitor.jpg"),
291
  os.path.join(os.path.dirname(__file__), "images/liveness/f_fake_andr_outline.jpg"),
292
  os.path.join(os.path.dirname(__file__), "images/liveness/f_fake_andr_outline3d.jpg"),
293
  os.path.join(os.path.dirname(__file__), "images/liveness/1.jpg"),
294
- # os.path.join(os.path.dirname(__file__), "data/images/liveness/2.jpg"),
295
  os.path.join(os.path.dirname(__file__), "images/liveness/3.png"),
296
  os.path.join(os.path.dirname(__file__), "images/liveness/4.jpg"),
297
  ],
@@ -329,7 +327,5 @@ with gr.Blocks() as MiniAIdemo:
329
  txt_emotion_out = gr.HTML()
330
  btn_f_emotion.click(face_emotion, inputs=im_emotion_in, outputs=[im_emotion_out, txt_emotion_out])
331
 
332
- gr.HTML('<a href="https://visitorbadge.io/status?path=demo.miniai.live"><img src="https://api.visitorbadge.io/api/combined?path=demo.miniai.live&label=Visitors&labelColor=%2337d67a&countColor=%23697689&style=plastic&labelStyle=upper" /></a>')
333
-
334
  if __name__ == "__main__":
335
  MiniAIdemo.launch()
 
284
  im_liveness_in = gr.Image(type='filepath', height=300)
285
  gr.Examples(
286
  [
 
287
  os.path.join(os.path.dirname(__file__), "images/liveness/f_real_andr.jpg"),
288
  os.path.join(os.path.dirname(__file__), "images/liveness/f_fake_andr_mask3d.jpg"),
289
  os.path.join(os.path.dirname(__file__), "images/liveness/f_fake_andr_monitor.jpg"),
290
  os.path.join(os.path.dirname(__file__), "images/liveness/f_fake_andr_outline.jpg"),
291
  os.path.join(os.path.dirname(__file__), "images/liveness/f_fake_andr_outline3d.jpg"),
292
  os.path.join(os.path.dirname(__file__), "images/liveness/1.jpg"),
 
293
  os.path.join(os.path.dirname(__file__), "images/liveness/3.png"),
294
  os.path.join(os.path.dirname(__file__), "images/liveness/4.jpg"),
295
  ],
 
327
  txt_emotion_out = gr.HTML()
328
  btn_f_emotion.click(face_emotion, inputs=im_emotion_in, outputs=[im_emotion_out, txt_emotion_out])
329
 
 
 
330
  if __name__ == "__main__":
331
  MiniAIdemo.launch()