AshanGimhana commited on
Commit
8571f8a
1 Parent(s): aa2589c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,6 +2,7 @@ import os
2
  import subprocess
3
 
4
  os.system("pip install gradio==3.50")
 
5
 
6
  #############################################
7
 
@@ -34,7 +35,7 @@ from PIL import Image
34
  import torch
35
  import torchvision.transforms as transforms
36
  import cv2
37
- from dlibs import dlib
38
  import matplotlib.pyplot as plt
39
  import gradio as gr # Importing Gradio as gr
40
  from tensorflow.keras.preprocessing.image import img_to_array
 
2
  import subprocess
3
 
4
  os.system("pip install gradio==3.50")
5
+ os.system("pip install dlib==19.24.2")
6
 
7
  #############################################
8
 
 
35
  import torch
36
  import torchvision.transforms as transforms
37
  import cv2
38
+ import dlib
39
  import matplotlib.pyplot as plt
40
  import gradio as gr # Importing Gradio as gr
41
  from tensorflow.keras.preprocessing.image import img_to_array